import { z } from "zod";
import type { AgentTool } from "@kenkaiiii/gg-agent";
import type { DeferredToolCatalog } from "../core/mcp/deferred-catalog.js";
declare const ToolSearchParams: z.ZodObject<{
    query: z.ZodString;
}, z.core.$strip>;
/**
 * Discovery tool for the deferred MCP catalog. Matching tools are promoted
 * into the live toolset immediately — callable from the very next turn.
 * `onPromote` pushes onto the session's live tools array (the agent loop
 * re-reads it every turn).
 */
export declare function createToolSearchTool(catalog: DeferredToolCatalog, onPromote: (tools: AgentTool[]) => void): AgentTool<typeof ToolSearchParams>;
export {};
//# sourceMappingURL=tool-search.d.ts.map