declare const extFs:IExtFs;
interface ICopyLogs {
add: string[]
update: string[]
}
type TFilter = RegExp | ((curPath: string) => boolean)
interface IExtFs {
mkdirSync(toFile: string): Promise<string[]>;
copyFiles(fromPath: string, toPath: string[], filter?: TFilter): Promise<ICopyLogs>;
copyFiles(op: {[fromPath: string]: string | string[]}, filter?: TFilter): Promise<ICopyLogs>;
removeFiles(iPath: string | string[], filter?: TFilter, includeSelf?: boolean): Promise<string[]>;
removeFiles(iPath: string | string[], includeSelf: boolean): Promise<string[]>;
readFilePaths(iPath: string | string[], filter?: any, reverse?: boolean): Promise<string[]>;
readFilesSync(iPath: string, filter?: any, ignoreFilter?: any): string[];
}
export = extFs;