export interface SearchOptions {
    searchPattern: string;
    contextPattern?: string;
    filePattern?: string;
}
export interface SearchMatch {
    line: number;
    content: string;
    captureGroups?: string[];
    matchedText?: string;
}
export interface SearchResult {
    filePath: string;
    matches: SearchMatch[];
    lineNumbers: number[];
    groupedLines: string[];
}
export declare function performSearch(options: SearchOptions): Promise<SearchResult[]>;
export interface FormatOptions {
    includeCaptureGroups?: boolean;
    includeMatchedText?: boolean;
}
export declare function formatSearchResults(results: SearchResult[], options?: FormatOptions): string;
