import { FetchOptions, IgnoreFunction } from '@pnpm/tarball-fetcher';
export default function (opts: {
    alwaysAuth?: boolean;
    registry: string;
    rawNpmConfig: object;
    strictSsl?: boolean;
    proxy?: string;
    httpsProxy?: string;
    localAddress?: string;
    cert?: string;
    key?: string;
    ca?: string;
    fetchRetries?: number;
    fetchRetryFactor?: number;
    fetchRetryMintimeout?: number;
    fetchRetryMaxtimeout?: number;
    userAgent?: string;
    ignoreFile?: IgnoreFunction;
    offline?: boolean;
}): {
    git: (resolution: {
        repo: string;
        commit: string;
    }, dest: string) => Promise<any>;
    tarball: (resolution: {
        integrity?: string | undefined;
        registry?: string | undefined;
        tarball: string;
    }, target: string, opts: FetchOptions) => Promise<{}>;
};
