import { z } from 'zod';
/**
 * Schema for an OAuth token response from `/auth/oauth/token`.
 */
export declare const OAuthTokenSchema: z.ZodObject<{
    access_token: z.ZodString;
    refresh_token: z.ZodString;
    expires_at: z.ZodNumber;
}, z.core.$loose>;
/**
 * Schema for an auth response from `/auth/apiGrant` and `/auth/apiRefresh`.
 */
export declare const AuthedSchema: z.ZodObject<{
    idToken: z.ZodString;
    refreshToken: z.ZodString;
    expiresAt: z.ZodNumber;
}, z.core.$loose>;
/**
 * A response from the a2w auth endpoints.
 */
export type Authed = z.infer<typeof AuthedSchema>;
