import type { Hooks } from "@opencode-ai/plugin"; import type { PluginToolContribution } from "../types/tool"; /** * Convert the aggregated tools record into the SDK tool hook shape. * Returns undefined if no tools are registered. */ export declare function buildToolHook(tools: Record): Hooks["tool"];