declare const ToolNotFoundError_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
readonly _tag: "ToolNotFoundError";
} & Readonly;
/**
* Error thrown when a tool is not found by ID.
*/
export declare class ToolNotFoundError extends ToolNotFoundError_base<{
readonly id: string;
}> {
}
declare const ToolAlreadyExistsError_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
readonly _tag: "ToolAlreadyExistsError";
} & Readonly;
/**
* Error thrown when attempting to register a tool with an ID that already exists.
*/
export declare class ToolAlreadyExistsError extends ToolAlreadyExistsError_base<{
readonly id: string;
}> {
}
declare const ToolValidationError_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
readonly _tag: "ToolValidationError";
} & Readonly;
/**
* Error thrown when tool validation fails.
*/
export declare class ToolValidationError extends ToolValidationError_base<{
readonly id: string;
readonly message: string;
}> {
}
declare const ToolExecutionError_base: new = {}>(args: import("effect/Types").VoidIfEmpty<{ readonly [P in keyof A as P extends "_tag" ? never : P]: A[P]; }>) => import("effect/Cause").YieldableError & {
readonly _tag: "ToolExecutionError";
} & Readonly;
/**
* Error thrown when tool execution fails.
*/
export declare class ToolExecutionError extends ToolExecutionError_base<{
readonly id: string;
readonly cause: unknown;
}> {
}
/**
* Union type for all tool errors, enabling exhaustive catchTag handling.
*/
export type ToolError = ToolNotFoundError | ToolAlreadyExistsError | ToolValidationError | ToolExecutionError;
export {};
//# sourceMappingURL=errors.d.ts.map