import type { AgentTrace } from './types'; export interface SearchOptions { query?: string; tool?: string; minCost?: number; maxCost?: number; minSteps?: number; maxSteps?: number; model?: string; hasOutput?: string; stepType?: string; } export interface SearchMatch { file: string; trace: AgentTrace; matchedSteps: number[]; reason: string; } export interface SearchResult { matches: SearchMatch[]; totalFiles: number; searchedFiles: number; } /** * Search across multiple trace files for matching criteria. */ export declare function searchTraces(traceDir: string, options: SearchOptions): SearchResult; /** * Search a single trace against criteria, returning match or null. */ export declare function matchTrace(trace: AgentTrace, file: string, options: SearchOptions): SearchMatch | null; /** * Format search results for display. */ export declare function formatSearchResults(result: SearchResult, options: SearchOptions): string; //# sourceMappingURL=search.d.ts.map