export declare function commandForBash(executable: string): string; export declare function prependShimPath(dir: string, base: string | undefined): string; /** POSIX keeps `bash -lc` (or `-c` when login is false). Windows returns a `.exe` CreateProcess can start. */ export declare function resolveHostCommand(name: string, options?: { login?: boolean; }): string; /** * Delete a rescue fixture directory. * * On Windows, Node's readdir can return EPERM scandir for a directory Git * marked read-only or that carries a deny ACE. Run 37199050242 still failed * after `attrib -R` (that form does not clear a directory attribute). This * clears FILE_ATTRIBUTE_READONLY with SetFileAttributes, resets the DACL, * and unlinks a reparse point Node did not report as a symlink. rmSync is * still the delete, and a second listing failure still throws. */ export declare function removeRescueWorkDir(workDir: string): void; export declare function writeRescueShim(dir: string, name: string, bashBody: string): void; //# sourceMappingURL=rescue-windows-test-harness.d.ts.map