/** * Search and Query Functions */ import type { MetaPattern, Phase, PatternType } from '../core/schema.js'; /** * Search patterns by text query * * @param query - Search query * @param patterns - Patterns to search (optional, loads all if not provided) * @returns Matching patterns */ export declare function searchPatterns(query: string, patterns?: MetaPattern[]): Promise; /** * Search patterns by phase and type * * @param phase - Phase filter (optional) * @param type - Type filter (optional) * @returns Matching patterns */ export declare function searchByPhaseAndType(phase?: Phase, type?: PatternType): Promise; /** * Search patterns by tags * * @param tags - Tags to match (any) * @returns Matching patterns */ export declare function searchByTags(tags: string[]): Promise; /** * Get top patterns by score * * @param limit - Number of patterns to return * @param phase - Optional phase filter * @returns Top patterns */ export declare function getTopPatterns(limit?: number, phase?: Phase): Promise; /** * Get patterns by confidence threshold * * @param minConfidence - Minimum confidence * @param phase - Optional phase filter * @returns Patterns above threshold */ export declare function getPatternsByConfidence(minConfidence: number, phase?: Phase): Promise; //# sourceMappingURL=search.d.ts.map