export interface RipgrepRunOptions { readonly cwd: string; readonly args: readonly string[]; readonly timeoutMs: number; readonly maxOutputBytes: number; readonly maxMatches: number; readonly command?: string; } export interface RipgrepRunResult { readonly stdout: string; readonly stderr: string; readonly exitCode: number | null; readonly timedOut: boolean; readonly truncated: boolean; readonly matchLimitReached: boolean; readonly error?: Error; } /** * Run one argument-array ripgrep process with bounded output and lifetime. * The domain supplies only validated project-relative targets and fixed * strings; this adapter owns process and platform details. */ export declare function runBoundedRipgrep(options: RipgrepRunOptions): Promise; //# sourceMappingURL=ripgrep.d.ts.map