import type { PluginInput } from "@opencode-ai/plugin"; import type { PluginConfig } from "./types"; export declare function createClaudeCodeHooksHook(ctx: PluginInput, config?: PluginConfig): { "chat.message": (input: { sessionID: string; agent?: string; model?: { providerID: string; modelID: string; }; messageID?: string; }, output: { message: Record; parts: Array<{ type: string; text?: string; [key: string]: unknown; }>; }) => Promise; "tool.execute.before": (input: { tool: string; sessionID: string; callID: string; }, output: { args: Record; }) => Promise; "tool.execute.after": (input: { tool: string; sessionID: string; callID: string; }, output: { title: string; output: string; metadata: unknown; }) => Promise; event: (input: { event: { type: string; properties?: unknown; }; }) => Promise; };