/**
 * @file `resolveBazelVersion({ cwd })` — picks the Bazel version to run for a
 *   project, matching the bazelisk precedence:
 *
 *   1. `USE_BAZEL_VERSION` env var
 *   2. `.bazelversion` walking up from `cwd`
 *   3. Fallback to the latest stable release queried from GitHub Releases (via
 *      socket-lib's `getLatestRelease`, which already handles GH_TOKEN auth,
 *      retry, and the REST/GraphQL fallback). Returns `undefined` only if both
 *      steps 2 and 3 fail with no env override — in that case the caller
 *      surfaces an actionable error.
 */
export interface ResolveBazelVersionOptions {
    /**
     * Working directory to walk up from for `.bazelversion`.
     */
    readonly cwd?: string | undefined;
}
export declare function resolveBazelVersion(options?: ResolveBazelVersionOptions | undefined): Promise<string | undefined>;
