import * as z from "zod/v4-mini"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdk-validation-error.js"; export type GetAccountRequest = { /** * The project to act on, when you call with an organization key. Optional when the organization has one project. A project key acts on its own project: naming another one is an error. */ projectId?: string | undefined; }; export type CurrentProject = { /** * ID of the current project */ id: string; /** * Name of the current project */ name: string; }; /** * Account details retrieved successfully */ export type GetAccountResponse = { /** * ID of the account */ id: string; /** * Name of the paid plan */ paidPlanName: string; /** * Text API quota */ textApiQuota: number; /** * Remaining quota */ remainingQuota: number; currentProject?: CurrentProject | undefined; }; /** @internal */ export type GetAccountRequest$Outbound = { projectId?: string | undefined; }; /** @internal */ export declare const GetAccountRequest$outboundSchema: z.ZodMiniType; export declare function getAccountRequestToJSON(getAccountRequest: GetAccountRequest): string; /** @internal */ export declare const CurrentProject$inboundSchema: z.ZodMiniType; export declare function currentProjectFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const GetAccountResponse$inboundSchema: z.ZodMiniType; export declare function getAccountResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=get-account.d.ts.map