import type { RefreshError } from "./types.js"; export interface MicrosoftTokenErrorResponse { error: string; error_description?: string; error_codes?: number[]; correlation_id?: string; trace_id?: string; } /** * Classifies a Microsoft OAuth error response into one of three kinds: * - reauth-required: user must re-authenticate (invalid_grant family) * - transient: network/server error, safe to retry * - config: bad client credentials or revoked consent */ export declare function classifyMicrosoftError(httpStatus: number, body: MicrosoftTokenErrorResponse): RefreshError;