/** * Hook process execution. * Spawns shell commands, handles stdin/stdout/exit-code protocol. */ import type { HookDefinition, HookStdin, HookResult, HookEventResult } from './types.js'; export declare function executeHook(hook: HookDefinition, stdinPayload: HookStdin): Promise; export declare function matchesHook(hook: HookDefinition, context: { tool_name?: string; }): boolean; export declare function runHooksForEvent(hooks: HookDefinition[], stdinPayload: HookStdin, matchContext?: { tool_name?: string; }): Promise; //# sourceMappingURL=executor.d.ts.map