import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { ApplicationScope } from "./applicationscope.js"; /** * Describes the scopes being shared from a subject account to a principal account. */ export type ShareScopes = { /** * The account ID that will receive access to the scopes. */ principalAccountID: string; /** * The list of scopes to share with the principal account. If none are provided, all intersecting scopes are added. */ allowScopes?: Array | undefined; }; /** @internal */ export declare const ShareScopes$inboundSchema: z.ZodType; /** @internal */ export type ShareScopes$Outbound = { principalAccountID: string; allowScopes?: Array | undefined; }; /** @internal */ export declare const ShareScopes$outboundSchema: z.ZodType; export declare function shareScopesToJSON(shareScopes: ShareScopes): string; export declare function shareScopesFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=sharescopes.d.ts.map