/** * hook:run CLI command. * * Dispatches hook handling to the appropriate harness adapter. * Each harness (e.g. "claude-code") implements its own stop and * session-start handlers via the HarnessAdapter interface. * * The "user-prompt-submit" hook type is harness-agnostic: it reads the * Claude Code UserPromptSubmit JSON payload from stdin, applies density-filter * compression if the prompt exceeds the configured token threshold, and writes * the (possibly compressed) payload to stdout. */ export interface HookRunCommandArgs { hookType: string; /** Which host tool is invoking the hook. Auto-detected from caller env, falls back to "claude-code". */ harness: string; /** @deprecated Resolved from environment automatically (CLAUDE_PLUGIN_ROOT, CODEX_PLUGIN_ROOT, etc.). Accepted for backward compatibility. */ pluginRoot?: string; stateDir?: string; runsDir?: string; json: boolean; verbose?: boolean; } export declare function handleHookRun(args: HookRunCommandArgs): Promise; //# sourceMappingURL=run.d.ts.map