/**
* Module convert fs functions to promise based functions
*/
///
import * as fs from 'fs';
export interface IReadResult {
bytesRead: number;
buffer: Buffer;
}
export declare const pathExists: typeof fs.existsSync;
export declare const createReadStream: typeof fs.createReadStream;
export declare function stat(path: fs.PathLike): Promise;
export declare function close(fd: number): Promise;
export declare function open(path: fs.PathLike, mode?: string): Promise;
export declare function read(fd: number, buffer: Buffer, offset: number, length: number, position: number): Promise;
export declare function writeFile(path: fs.PathLike, data: Buffer | string): Promise;
export declare function writeFileSync(path: fs.PathLike, data: Buffer | string): void;
export declare function readFile(path: fs.PathLike): Promise;