import * as z from "zod/v3"; import { OpenEnum } from "../../types/enums.js"; import { Scope } from "./scope.js"; export declare const Scopes2: { readonly Admin: "admin"; }; export type Scopes2 = OpenEnum; /** * If not defined, the token has Admin access. */ export type CreateOrgTokenScopes = Array | Scopes2; export type CreateOrgToken = { /** * If not defined, the token has Admin access. */ scopes?: Array | Scopes2 | undefined; /** * Readable name for a token. Must be unique within an organization. */ name: string; }; /** @internal */ export declare const Scopes2$outboundSchema: z.ZodType; /** @internal */ export type CreateOrgTokenScopes$Outbound = Array | string; /** @internal */ export declare const CreateOrgTokenScopes$outboundSchema: z.ZodType; export declare function createOrgTokenScopesToJSON(createOrgTokenScopes: CreateOrgTokenScopes): string; /** @internal */ export type CreateOrgToken$Outbound = { scopes?: Array | string | undefined; name: string; }; /** @internal */ export declare const CreateOrgToken$outboundSchema: z.ZodType; export declare function createOrgTokenToJSON(createOrgToken: CreateOrgToken): string; //# sourceMappingURL=createorgtoken.d.ts.map