/**
* PostToolUseFailure hook event.
*
* Fires after a tool call fails or is interrupted. A handler can attach
* additional context that Claude will see in place of (or alongside) the
* raw error. Supports a matcher on `tool_name`.
* See https://code.claude.com/docs/en/hooks#posttoolusefailure.
*
* @since 0.1.0
*/
import * as Effect from 'effect/Effect';
import * as Schema from 'effect/Schema';
import type { HookContext } from '../Context.js';
import type { HookDefinition } from '../Runner.js';
declare const Input_base: Schema.Class;
readonly tool_name: Schema.String;
readonly tool_input: Schema.$Record;
readonly tool_use_id: Schema.optional;
readonly error: Schema.String;
readonly is_interrupt: Schema.optional;
readonly duration_ms: Schema.optional;
readonly session_id: Schema.String;
readonly transcript_path: Schema.String;
readonly cwd: Schema.String;
readonly permission_mode: Schema.optionalKey;
readonly effort: Schema.optionalKey;
readonly agent_id: Schema.optionalKey;
readonly agent_type: Schema.optionalKey;
}>, {}>;
export declare class Input extends Input_base {
}
declare const HookSpecificOutput_base: Schema.Class;
readonly additionalContext: Schema.optional;
}>, {}>;
export declare class HookSpecificOutput extends HookSpecificOutput_base {
}
declare const Output_base: Schema.Class