/**
 * `which` — locate an executable on `PATH`.
 *
 * Replacement for `Bun.which(cmd)`. Walks the directories in `PATH`,
 * returning the first executable match, or `null` when not found.
 *
 * Honors Windows's `PATHEXT` (semicolon-delimited list of executable
 * suffixes like `.EXE;.CMD;.BAT`) so callers can pass `git` and
 * receive `C:\\Program Files\\Git\\cmd\\git.exe` on Windows.
 *
 * Designed for the CLI's needs: synchronous-looking call sites that
 * just want a yes/no on "is this binary installed?" or the absolute
 * path. Not a general-purpose `which` (no `-a` semantics, no
 * symlink resolution, no shadowing reports).
 */
/**
 * Returns the absolute path to `command` if found on `PATH`, or
 * `null` if no matching executable is reachable.
 */
export declare function which(command: string): Promise<string | null>;
//# sourceMappingURL=which.d.ts.map