export type AgentConnectErrorStatus = 400 | 403 | 404 | 502 | 503 | 504; export interface AgentConnectErrorResponse { status: AgentConnectErrorStatus; body: Record; } /** * Preserve the `/api/connect` error contract in one route-local policy. * * Agent error codes are a structural boundary rather than an `instanceof` * contract: callers and tests may attach them to ordinary Error objects. * Unknown or missing codes intentionally retain the route's legacy 400. */ export declare function classifyAgentConnectError(error: unknown): AgentConnectErrorResponse; //# sourceMappingURL=agent-connect-error.d.ts.map