/// import { Host as IHost } from './interfaces'; import { FsImplementation as MkdirpFsImplementation } from './mkdirp-then'; import fs from 'fs'; declare type NativeFS = typeof fs; export interface FSImpl extends MkdirpFsImplementation { readFile: NativeFS['readFile']; readdir: NativeFS['readdir']; stat: NativeFS['stat']; writeFile: NativeFS['writeFile']; chmod: NativeFS['chmod']; rename: NativeFS['rename']; unlink: NativeFS['unlink']; } export declare class FileSystemHostBase implements IHost { private _fs; constructor(_fs: FSImpl); readFile(path: string): Promise; readDir(path: string): Promise<{ files: string[]; dirs: string[]; }>; readStat(path: string): Promise; writeFile(path: string, content?: Buffer, options?: IHost.writeFile.Options): Promise; moveFile(from: string, to: string): Promise; deleteFile(path: string): Promise; mkdirp(path: string): Promise; } export {}; //# sourceMappingURL=FileSystemHostBase.d.ts.map