import type { HookDefinition, HookResult, HookEvent } from '../types.js'; import type { ToolLLM } from '../../config/tool-llm.js'; /** * Prompt hook runner, sends event data to an LLM via ToolLLM. * * The hook definition's `prompt` field is a template string. * `$ARGUMENTS` is replaced with the JSON-serialised event before * the prompt is sent. The LLM response is parsed as a HookResult * JSON object. If the response is not valid JSON (or is empty) * the hook returns `{ ok: true }` (fire-and-forget semantics). */ export declare function run(hook: HookDefinition, event: HookEvent, toolLLM: Pick | null): Promise; //# sourceMappingURL=prompt.d.ts.map