import type { PluginInput } from "@opencode-ai/plugin"; import type { BackgroundManager } from "../../features/background-agent"; export declare const HOOK_NAME = "sisyphus-orchestrator"; interface ToolExecuteAfterInput { tool: string; sessionID?: string; callID?: string; } interface ToolExecuteAfterOutput { title: string; output: string; metadata: Record; } export interface SisyphusOrchestratorHookOptions { directory: string; backgroundManager?: BackgroundManager; } export declare function createSisyphusOrchestratorHook(ctx: PluginInput, options?: SisyphusOrchestratorHookOptions): { handler: ({ event }: { event: { type: string; properties?: unknown; }; }) => Promise; "tool.execute.before": (input: { tool: string; sessionID?: string; callID?: string; }, output: { args: Record; message?: string; }) => Promise; "tool.execute.after": (input: ToolExecuteAfterInput, output: ToolExecuteAfterOutput) => Promise; }; export {};