/** * Error taxonomy for the provider-neutral adapter loop. * * Most failures inside the loop become `isError: true` tool-results * surfaced back to the model (so it can recover gracefully). Errors * thrown out of the adapter are reserved for adopter-visible * misconfiguration or contract violations. */ export declare const AdapterErrorCode: { readonly OUT_OF_PLAN_TOOL_USE: "OUT_OF_PLAN_TOOL_USE"; readonly EXECUTOR_FAILED: "EXECUTOR_FAILED"; readonly INVALID_PAYLOAD: "INVALID_PAYLOAD"; readonly MAX_ITERATIONS_EXCEEDED: "MAX_ITERATIONS_EXCEEDED"; readonly CONFIRMATION_TOKEN_INVALID: "CONFIRMATION_TOKEN_INVALID"; readonly RESUME_NO_PARKED: "RESUME_NO_PARKED"; }; export type AdapterErrorCode = (typeof AdapterErrorCode)[keyof typeof AdapterErrorCode]; export declare class AdapterError extends Error { readonly code: AdapterErrorCode; readonly details?: Record; constructor(code: AdapterErrorCode, message: string, details?: Record); } //# sourceMappingURL=errors.d.ts.map