import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { PermissionSet } from "./permissionset.js"; import { RoleAssigneeType } from "./roleassigneetype.js"; export type Role = { /** * Always `role`. */ type: "role"; /** * The unique ID for the role. */ id: string; /** * The human-readable name of the role. */ name: string; /** * The unique, human-readable identifier for the role. */ slug: string; /** * A description of the access this role grants. */ description: string; /** * The permissions granted by a role. */ permissions: PermissionSet; /** * The types of resource this role can be assigned to. */ assignableTo: Array; /** * The slugs of the roles this role is an add-on of. Empty when this role is not an add-on. */ appliesTo: Array; /** * Whether this role can be assigned on its own, without being combined with another role. */ isStandaloneAssignable: boolean; }; /** @internal */ export declare const Role$inboundSchema: z.ZodType; export declare function roleFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=role.d.ts.map