import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type AuthToken = { accessToken: string; datasource: string; scope?: string | undefined; tokenType?: string | undefined; /** * Used by Google to indicate the index of the logged in user. Useful for generating hyperlinks that support multilogin. */ authUser?: string | undefined; /** * Unix timestamp when this token expires (in seconds since epoch UTC). */ expiration?: number | undefined; }; /** @internal */ export declare const AuthToken$inboundSchema: z.ZodType; /** @internal */ export type AuthToken$Outbound = { accessToken: string; datasource: string; scope?: string | undefined; tokenType?: string | undefined; authUser?: string | undefined; expiration?: number | undefined; }; /** @internal */ export declare const AuthToken$outboundSchema: z.ZodType; export declare function authTokenToJSON(authToken: AuthToken): string; export declare function authTokenFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=authtoken.d.ts.map