import * as Stream from 'stream'; export function tarDirectory(source: string): Promise;