/** Ripgrep binaries inside `app.asar` are not executable (spawn throws ENOTDIR). */ export declare function isAsarBundledPath(filePath: string): boolean; /** True when `filePath` is a real on-disk executable candidate (not inside asar). */ export declare function isRunnableRipgrepPath(filePath: string): boolean; /** @internal Test-only — clears memoized ripgrep path between cases. */ export declare function resetRipgrepBinaryCacheForTests(): void; /** * Resolve ripgrep binary: * 1. `XOPC_RIPGREP_BIN` (Electron extraResources `bin/rg`) * 2. `@vscode/ripgrep` postinstall path (dev / CLI) * 3. `rg` on PATH */ export declare function resolveRipgrepBinary(): Promise;