export declare abstract class FileSystem { abstract readonly root: string; abstract readonly sep: string; abstract readonly type: 'zip' | 'path'; abstract readonly writeable: boolean; abstract join(...paths: string[]): string; abstract isDirectory(name: string): Promise; abstract existsFile(name: string): Promise; abstract readFile(name: string, encoding: 'utf-8' | 'base64'): Promise; abstract readFile(name: string, encoding: undefined): Promise; abstract readFile(name: string): Promise; abstract readFile(name: string, encoding?: 'utf-8' | 'base64'): Promise; /** * Get the url for a file entry. If the system does not support get url. This should return an empty string. */ getUrl(name: string): string; abstract listFiles(name: string): Promise; abstract cd(name: string): void; isClosed(): boolean; close(): void; missingFile(name: string): Promise; walkFiles(target: string, walker: (path: string) => void | Promise): Promise; } //# sourceMappingURL=system.d.ts.map