/// <reference types="node" />
/// <reference types="node" />
import fs from 'fs';
export declare function getLocalOrRemoteStream(uri: string, out: string): Promise<{
    totalBytes: number;
    stream: NodeJS.ReadableStream | fs.ReadStream;
}>;
