/**
 * Typed error thrown when a tool execution fails.
 *
 * Carries a generic `details` payload so callers can attach structured
 * context (e.g. exit codes, validation errors) alongside the message.
 */
export declare class ToolExecutionError<TDetails = unknown> extends Error {
    readonly details: TDetails;
    constructor(message: string, details: TDetails);
}
/** Type guard for {@link ToolExecutionError}. */
export declare function isToolExecutionError<TDetails = unknown>(error: unknown): error is ToolExecutionError<TDetails>;
//# sourceMappingURL=tool-execution-error.d.ts.map