export interface WorkspaceSearchHit { filePath: string; lineNumber: number; lineContent: string; matchStart: number; matchEnd: number; } /** Run ripgrep in a directory (absolute path). Returns empty array if rg fails to start. */ export declare function runRipgrepInDirectory(query: string, dirAbsPath: string): Promise; /** * List workspace-relative file paths via ripgrep `--files` (respects .gitignore; fast on large trees). * Returns POSIX paths relative to `dirAbsPath`. */ export declare function runRipgrepListFiles(dirAbsPath: string): Promise;