import type { GrepMetadataResult } from "./grep-metadata.js";
/**
 * Search a gron file using ripgrep.
 * Returns raw lines from the gron file that match the pattern.
 */
export declare function searchGronWithRipgrep(gronPath: string, pattern: string): Promise<string[]>;
/**
 * Build a GrepMetadataResult from gron search results.
 * Uses the path-prefix approach with batching: extracts parent prefixes,
 * fetches parent data in batches of 250, stops when character limit is reached.
 *
 * PAGINATION NOTE: If we want to implement pagination so that Clark can get all
 * results from this grep, we can return the currentIndex and store the prefixArray
 * in memory (or ContextManager) so we can continue from the next index on subsequent calls.
 */
export declare function buildResultFromGronMatches(gronPath: string, matches: string[], limit: number | undefined, // Optional - defaults to no count limit
includeDetails: boolean, maxResponseChars?: number, startIndex?: number): Promise<GrepMetadataResult>;
//# sourceMappingURL=grep-metadata-ripgrep.d.ts.map