///
import * as fs from "fs";
import { Exception } from '@microsoft.azure/tasks';
export declare class PathNotFoundException extends Exception {
exitCode: number;
constructor(path: string, exitCode?: number);
}
export declare class PathIsNotFileException extends Exception {
exitCode: number;
constructor(path: string, exitCode?: number);
}
export declare class PathIsNotDirectoryException extends Exception {
exitCode: number;
constructor(path: string, exitCode?: number);
}
export declare class UnableToRemoveException extends Exception {
exitCode: number;
constructor(path: string, exitCode?: number);
}
export declare class UnableToMakeDirectoryException extends Exception {
exitCode: number;
constructor(path: string, exitCode?: number);
}
export declare const exists: (path: string | Buffer) => Promise;
export declare const readdir: (path: string | Buffer) => Promise>;
export declare const close: (fd: number) => Promise;
export declare const writeFile: (filename: string, content: string) => Promise;
export declare const lstat: (path: string | Buffer) => Promise;
export declare function mkdir(dirPath: string): Promise;
export declare function readFile(filename: string): Promise;
export declare function isDirectory(dirPath: string): Promise;
export declare function isFile(filePath: string): Promise;
export declare function rmdir(dirPath: string): Promise;
export declare function rmFile(filePath: string): Promise;