export interface ExtractOptions { strip?: number; filter?: (path: string) => boolean; overwrite?: boolean; } export declare class PackageExtractor { extractTarGz(filePath: string, targetDir: string, options?: ExtractOptions): Promise; extractZip(filePath: string, targetDir: string, options?: ExtractOptions): Promise; extract(filePath: string, targetDir: string, options?: ExtractOptions): Promise; extractPackageJson(tarballPath: string): Promise; verifyIntegrity(filePath: string, expectedIntegrity?: string, expectedShasum?: string): Promise; createTarGz(sourceDir: string, outputPath: string, options?: { portable?: boolean; }): Promise; listContents(filePath: string): Promise; private walkDir; } //# sourceMappingURL=package-extractor.d.ts.map