import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type V3TokenResponse = { /** * The access token used to authenticate API calls. */ accessToken: string; /** * The lifetime of the token in seconds. */ expiresIn: number; /** * The lifetime of the refresh token in seconds. Not currently supported. */ refreshExpiresIn?: number | undefined; /** * The token used to refresh the expiration time. Not currently supported. */ refreshToken?: string | undefined; /** * The type of token. */ tokenType: string; }; /** @internal */ export declare const V3TokenResponse$inboundSchema: z.ZodType; /** @internal */ export type V3TokenResponse$Outbound = { access_token: string; expires_in: number; refresh_expires_in?: number | undefined; refresh_token?: string | undefined; token_type: string; }; /** @internal */ export declare const V3TokenResponse$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace V3TokenResponse$ { /** @deprecated use `V3TokenResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `V3TokenResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `V3TokenResponse$Outbound` instead. */ type Outbound = V3TokenResponse$Outbound; } export declare function v3TokenResponseToJSON(v3TokenResponse: V3TokenResponse): string; export declare function v3TokenResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=v3tokenresponse.d.ts.map