Files
oh-my-opencode/dist/hooks/claude-code-hooks/dispatch-hook.d.ts
T

5 lines
313 B
TypeScript
Raw Normal View History

import type { HookAction } from "./types";
import type { CommandResult } from "../../shared/command-executor/execute-hook-command";
export declare function getHookIdentifier(hook: HookAction): string;
export declare function dispatchHook(hook: HookAction, stdinJson: string, cwd: string): Promise<CommandResult>;