import type { LlmFailureDisposition } from '../gen';
export declare function readErrorStatus(error: unknown): number | undefined;
export declare function readErrorCode(error: unknown): string | undefined;
export declare function readErrorMessage(error: unknown): string | undefined;
export declare function readProviderSuggestedRetryAfterMs(error: unknown): number | undefined;
export declare function isOpenAiLikeRateLimitFailure(error: unknown): boolean;
export declare function classifyOpenAiLikeFailure(error: unknown): LlmFailureDisposition | undefined;
export declare function classifyAnthropicFailure(error: unknown): LlmFailureDisposition | undefined;
