import { z } from 'zod'; import type { ToolContext, ToolResult } from '../types.js'; /** * Input schema for search_docs tool. */ export declare const SearchDocsInputSchema: z.ZodObject<{ query: z.ZodString; limit: z.ZodDefault>; searchContent: z.ZodDefault; searchFrontmatter: z.ZodDefault; caseSensitive: z.ZodDefault; prettyPrint: z.ZodDefault; }, z.core.$strip>; /** * Search result interface with enhanced metadata. */ export interface SearchResult { /** Path to document (minified: p) */ p: string; /** Title (minified: t) */ t: string; /** Excerpt with context (minified: ex) */ ex: string; /** Match count (minified: mc) */ mc: number; /** Line number of first match (minified: ln) */ ln: number; /** Full path (for prettyPrint mode) */ path?: string; /** Full title (for prettyPrint mode) */ title?: string; /** Full excerpt (for prettyPrint mode) */ excerpt?: string; /** Full match count (for prettyPrint mode) */ matchCount?: number; /** Full line number (for prettyPrint mode) */ lineNumber?: number; } /** * Handle search_docs tool request. * Full-text search across planning documents using FTS5. * * @param input - Tool input * @param context - Tool context * @returns Tool result */ export declare function handleSearchDocs(input: z.infer, context: ToolContext): Promise; //# sourceMappingURL=search-docs.d.ts.map