import { z } from 'zod'; import { BaseTool } from '../base.tool'; declare const InputSchema: z.ZodObject<{ query: z.ZodString; limit: z.ZodDefault; }, z.core.$strip>; declare const OutputSchema: z.ZodObject<{ results: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>; export declare class SearchDocsTool extends BaseTool { readonly id = "searchDocuments"; readonly description = "\nPerforms intelligent fuzzy search across the entire Ignis Framework documentation corpus.\n\nPURPOSE:\nUse this tool to find documentation pages relevant to a user's question or topic.\nIt searches both document titles (weighted higher) and content body using the Fuse.js fuzzy matching algorithm.\n\nWHEN TO USE:\n- User asks \"how do I...\" or \"what is...\" questions about Ignis\n- You need to find documentation about a specific feature, concept, or API\n- You want to discover related documentation before diving into specifics\n- User mentions keywords that might appear in documentation\n\nSEARCH BEHAVIOR:\n- Fuzzy matching tolerates typos and partial matches\n- Title matches are weighted 70%, content matches 30%\n- Results sorted by relevance score (lower = better match)\n- Returns snippet previews for quick assessment\n\nWORKFLOW RECOMMENDATION:\n1. Start with searchDocs to find relevant pages\n2. Review returned snippets to identify best matches\n3. Use getDocContent with specific IDs to retrieve full content\n4. Use getDocMetadata if you need document statistics\n\nOUTPUT STRUCTURE:\nReturns array of {id, title, category, snippet, score} objects.\nUse the 'id' field with getDocContent to fetch full document content.\n"; readonly inputSchema: z.ZodObject<{ query: z.ZodString; limit: z.ZodDefault; }, z.core.$strip>; readonly outputSchema: z.ZodObject<{ results: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>; execute(opts: z.infer): Promise>; getTool(): import("@mastra/core/tools", { with: { "resolution-mode": "import" } }).Tool<{ query: string; limit?: number | undefined; }, { results: { id: string; title: string; category: string; snippet: string; score?: number | undefined; }[]; }, unknown, unknown, import("@mastra/core/tools", { with: { "resolution-mode": "import" } }).ToolExecutionContext, "searchDocuments", unknown>; } export {}; //# sourceMappingURL=search-documents.tool.d.ts.map