import type { AgentErrorType } from '../../shared/types.js'; /** * Classify an API error into a structured error with type, message, and detail. * Works with both Anthropic and OpenAI SDK errors (both use HTTP status codes). */ export declare function classifyError(error: unknown): { errorType: AgentErrorType; message: string; detail?: string; };