import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { ScopeType } from "./scopetype.js"; /** * Describes the grant permission level that a user has for a specific feature */ export type GrantPermission = { /** * Describes the scope for a ReadPermission, WritePermission, or GrantPermission object */ scopeType?: ScopeType | undefined; }; /** @internal */ export declare const GrantPermission$inboundSchema: z.ZodType; /** @internal */ export type GrantPermission$Outbound = { scopeType?: string | undefined; }; /** @internal */ export declare const GrantPermission$outboundSchema: z.ZodType; export declare function grantPermissionToJSON(grantPermission: GrantPermission): string; export declare function grantPermissionFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=grantpermission.d.ts.map