import { Resolution } from '../resolve';
import { Got } from '../network/got';
export declare type FetchOptions = {
    pkgId: string;
    got: Got;
    localRegistry: string;
    offline: boolean;
};
export declare type PackageDist = {
    tarball: string;
    registry?: string;
    integrity?: string;
};
export default function fetchResolution(resolution: Resolution, target: string, opts: FetchOptions): Promise<void>;
export declare function fetchFromTarball(dir: string, dist: PackageDist, opts: FetchOptions): Promise<void>;
export declare function fetchFromRemoteTarball(dir: string, dist: PackageDist, opts: FetchOptions): Promise<void>;
