/**
 * OwlCoda Native ToolSearch Tool
 *
 * Searches available tools by name or keyword and returns their schemas.
 * Enables deferred tool loading — only fetch schemas when needed.
 *
 * Upstream parity notes:
 * - Upstream implements deferred tool loading via system-reminder attachments
 * - Supports "select:Read,Edit,Grep" exact match and keyword search
 * - Our version: searches NATIVE_TOOL_SCHEMAS by name/keyword
 */
import type { NativeToolDef } from './types.js';
export interface ToolSearchInput {
    query: string;
    max_results?: number;
}
export interface ToolSearchDeps {
    /** Resolves a tool's authored description so honest stub-disclosure
     * copy reaches the LLM instead of the `Native ${name} tool` placeholder. */
    getToolDescription?: (name: string) => string | undefined;
}
export declare function createToolSearchTool(deps?: ToolSearchDeps): NativeToolDef<ToolSearchInput>;
