///
import { PromiseUtil } from "./promise.util";
export declare class FileUtil {
private readonly promiseUtil;
constructor(promiseUtil: PromiseUtil);
write(path: string, buffer: Buffer): Promise;
read(path: string): Promise;
delete(path: string): Promise;
deleteIfExist(path: string): Promise;
size(path: string): Promise;
exist(path: string): boolean;
mkdir(path: string): Promise;
}