///
import { FakeFS, PortablePath, ZipFS } from '@yarnpkg/fslib';
interface MakeArchiveFromDirectoryOptions {
baseFs?: FakeFS;
prefixPath?: PortablePath | null;
}
export declare function makeArchiveFromDirectory(source: PortablePath, { baseFs, prefixPath }?: MakeArchiveFromDirectoryOptions): Promise;
interface MakeArchiveOptions {
prefixPath?: PortablePath;
stripComponents?: number;
}
export declare function makeArchive(tgz: Buffer, { stripComponents, prefixPath }?: MakeArchiveOptions): Promise;
export {};