export type ProviderAccessErrorCode = "PROVIDER_AUTH_FAILED" | "PROVIDER_RATE_LIMITED" | "PROVIDER_TIMEOUT" | "PROVIDER_UNAVAILABLE" | "RESPONSE_FORMAT_DRIFT" | "CALLER_FAILED";
export type ProviderAccessBoundary = "provider" | "response" | "caller";
export type ProviderAccessError = {
    code: ProviderAccessErrorCode;
    message: string;
    boundary: ProviderAccessBoundary;
    retryable: boolean;
    publicSafe: true;
};
export declare function classifyProviderAccessError(error: unknown): ProviderAccessError;
