import type { ErrorMeta } from './tool-response.js'; /** Matches transient upstream provider failures that are typically safe to retry. */ export declare const RETRYABLE_UPSTREAM_ERROR_PATTERN: RegExp; export declare function toRecord(value: unknown): Record | undefined; export declare function getErrorMessage(error: unknown): string; export declare function classifyErrorMeta(error: unknown, message: string): ErrorMeta;