/** * Error‑message sub-strings that indicate an auth / credential failure. * Used with provider auth handlers to decide whether a failed API call should * trigger an OAuth refresh. */ export declare const AUTH_ERROR_PATTERNS: readonly ["401", "403", "unauthorized", "forbidden", "invalid token", "expired token", "authentication"]; /** * Returns `true` when `error` looks like an authentication failure. */ export declare function isLikelyAuthError(error: unknown): boolean;