import type { ToolStatus } from '../types.js';
/**
 * Central helper to classify an error into a ToolStatus value.
 *
 * - TOOL_STATUS.ABORTED   → Request was explicitly aborted by the client.
 * - TOOL_STATUS.SOFT_FAIL → User/client errors (HTTP 4xx, InvalidParams, validation issues).
 * - TOOL_STATUS.FAILED    → Server errors (HTTP 5xx, unknown, or unexpected exceptions).
 */
export declare function getToolStatusFromError(error: unknown, isAborted: boolean): ToolStatus;
//# sourceMappingURL=tool_status.d.ts.map