import type { PluginInput } from "@opencode-ai/plugin"; type ToolExecuteInput = { tool: string; sessionID: string; callID: string; }; type ToolExecuteBeforeOutput = { args: Record; }; type ToolExecuteAfterOutput = { title: string; output: string; metadata: Record; }; export declare function createWebFetchRedirectGuardHook(_ctx: PluginInput): { "tool.execute.before": (input: ToolExecuteInput, output: ToolExecuteBeforeOutput) => Promise; "tool.execute.after": (input: ToolExecuteInput, output: ToolExecuteAfterOutput) => Promise; }; export {};