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<{ query: z.ZodString; totalCount: z.ZodNumber; results: z.ZodArray; url: z.ZodOptional; }, z.core.$strip>>; error: z.ZodOptional; rateLimitWarning: z.ZodOptional; }, z.core.$strip>; export declare class SearchCodeTool extends BaseTool { readonly id = "searchCode"; readonly description = "\nSearches for code patterns, function names, class definitions, and keywords across the Ignis source code.\n\nPURPOSE:\nFind specific code implementations, locate where functions/classes are defined, and discover\ncode patterns throughout the repository. Essential for understanding how features are implemented.\n\nWHEN TO USE:\n- To find where a specific function or class is defined\n- To locate usages of a particular API or pattern\n- To find configuration files or specific code constructs\n- When you know WHAT you're looking for but not WHERE it is\n- To answer questions like \"where is X implemented?\" or \"how is Y used?\"\n\nWHEN NOT TO USE:\n- For general project structure exploration (use listProjectFiles instead)\n- For documentation content (use searchDocs instead)\n- When you already know the file path (use viewSourceFile instead)\n\nSEARCH TIPS:\n- Use specific terms: \"createApplication\" instead of \"create\"\n- Include file extension for targeted results: \"extension:ts HttpServer\"\n- Search for class/function names: \"class DependencyContainer\"\n- Combine terms: \"inject decorator\"\n\nOUTPUT:\nReturns matching files with code snippets showing the match context.\nUse viewSourceFile to read the complete file content.\n"; readonly inputSchema: z.ZodObject<{ query: z.ZodString; limit: z.ZodDefault; }, z.core.$strip>; readonly outputSchema: z.ZodObject<{ query: z.ZodString; totalCount: z.ZodNumber; results: z.ZodArray; url: z.ZodOptional; }, z.core.$strip>>; error: z.ZodOptional; rateLimitWarning: z.ZodOptional; }, z.core.$strip>; execute(opts: z.infer): Promise>; getTool(): import("@mastra/core/tools", { with: { "resolution-mode": "import" } }).Tool<{ query: string; limit?: number | undefined; }, { query: string; totalCount: number; results: { filePath: string; fileName: string; matchSnippet?: string | undefined; url?: string | undefined; }[]; error?: string | undefined; rateLimitWarning?: string | undefined; }, unknown, unknown, import("@mastra/core/tools", { with: { "resolution-mode": "import" } }).ToolExecutionContext, "searchCode", unknown>; } export {}; //# sourceMappingURL=search-code.tool.d.ts.map