///
import { Host as IHost, Tree as ITree, File as IFile, Directory as IDirectory } from './interfaces';
export declare class Tree implements ITree {
private _host;
constructor(_host: IHost);
get(path: string): Promise;
getDir(path: string): Promise;
overwrite(path: string, content?: Buffer | string, stat?: IFile.Stats): Promise;
create(path: string, content: Buffer | string, stat?: IFile.Stats): Promise;
delete(path: string): Promise;
move(from: string, to: string): Promise;
private _createStat;
private _ensureBuffer;
private _getFile;
private _getDir;
private _listChildren;
private _isFile;
private _isDirectory;
private _exists;
private _safeReadStat;
}
//# sourceMappingURL=Tree.d.ts.map