/**
 * @file `uvFromDownload()` — fetches upstream uv and returns a `ResolvedUv`
 *   pointing at the extracted binary. uv tarballs wrap the binary in a
 *   `<asset-stem>/` directory; the extractor strips that level so the binary
 *   sits at the cache-dir root.
 */
import type { BinaryDownloader } from '../from-download';
import type { HashSpec } from '../../integrity';
import type { ResolvedUv } from './types';
export interface UvFromDownloadOptions {
    version: string;
    platformArch: string;
    integrity?: HashSpec | undefined;
    cacheDir?: string | undefined;
    downloader?: BinaryDownloader | undefined;
}
export declare function uvFromDownload(opts: UvFromDownloadOptions): Promise<ResolvedUv | undefined>;
