import type { PluginInput } from "@opencode-ai/plugin"; interface ToolExecuteInput { tool: string; sessionID: string; callID: string; } interface ToolExecuteOutput { title: string; output: string; metadata: unknown; } interface DirectoryReadmeInjectorHook { "tool.execute.before"?: (input: ToolExecuteInput, output: { args: unknown; }) => Promise; "tool.execute.after": (input: ToolExecuteInput, output: ToolExecuteOutput) => Promise; event: (input: EventInput) => Promise; } interface EventInput { event: { type: string; properties?: unknown; }; } export declare function createDirectoryReadmeInjectorHook(ctx: PluginInput, modelCacheState?: { anthropicContext1MEnabled: boolean; }): DirectoryReadmeInjectorHook; export {};