import { type ProviderErrorClass } from "@cline/shared"; /** * Classify a raw provider error (or an already-flattened error message) into * a {@link ProviderErrorClass}. Call this where the structured error object * is still available — `extractErrorMessage` discards the structure this * classification relies on. * * Typed AI SDK error instances are classified first via their typed fields; * everything else — including plain JSON payloads that only *look* like AI * SDK errors — goes through the conservative structural walk. */ export declare function classifyProviderError(error: unknown): ProviderErrorClass; //# sourceMappingURL=error-classification.d.ts.map