/** * OAuth Client for Veryfront API - client credentials flow. */ export interface TokenResponse { access_token: string; token_type: "Bearer"; expires_in?: number; } export declare class OAuthTokenRequestError extends Error { readonly status: number; readonly responseText: string; constructor(status: number, responseText: string); } interface OAuthTokenConfig { apiBaseUrl: string; apiClientId: string; apiClientSecret: string; projectSlug?: string; customDomain?: string; timeoutMs?: number; signal?: AbortSignal; } export declare function fetchOAuthToken(config: OAuthTokenConfig): Promise; export {}; //# sourceMappingURL=oauth-client.d.ts.map