UNPKG

@rnaga/wp-node

Version:

👉 **[View Full Documentation at rnaga.github.io/wp-node →](https://rnaga.github.io/wp-node/)**

16 lines • 493 B
import { RoleNames } from "../types"; import { Vars } from "./vars"; import type * as types from "../types"; import { Logger } from "./logger"; export declare class Roles { private vars; private logger; constructor(vars: Vars, logger: Logger); set(roles: types.Roles): void; get<T = "anonymous">(name: RoleNames | T): types.Role | undefined; get all(): Record<string, { name: string; capabilities: string[]; }>; } //# sourceMappingURL=roles.d.ts.map