import { IPackage } from "ethpkg"; export declare const sleep: (t: number) => Promise; export declare function getPinnedReference(): Promise; export declare function getPackageDependencies(specifier: string): Promise<{ name: any; specifier: string; pinnedDependency: any; dependencies: any; pkg: IPackage; }>; declare type DependencyTree = { [index: string]: any; }; export declare function getPackageDependencyTree({ specifier }: any): Promise; export declare class VirtualFileSystem { _files: any; mount(pkg: IPackage, namespace: string, mountPoint?: string): Promise; /** * FIX: the entry info during mount() is not reliable * apparently some tar packages are only constructed of file entries * which is why we need an extra safety net to check if a package path is a directory * @param filePath */ isDir(filePath: string): boolean; readFileSync(filePath: string, enc?: string): any; existsSync(filePath: string): boolean; statSync(filePath: string): { isDirectory: () => boolean; }; stripBOM(content: string): string; printPaths(): void; persist(): void; } export declare const installPackageToVirtualFs: (specifier: string, mountPoint: string) => Promise; export declare const patchResolve: (vfs: VirtualFileSystem, _search_paths: string[]) => void; export declare const patchRequire: (vfs: VirtualFileSystem) => void; export {}; //# sourceMappingURL=poc.d.ts.map