///
import { Options as AppendOptions } from './append';
import { IOptions as DirOptions } from './dir';
import { IOptions as FileOptions } from './file';
import { IOptions as FindOptions } from './find';
import { Options as InspectTreeOptions } from './inspect_tree';
import { IWriteOptions } from './interfaces';
import { ICopyOptions, INode, IInspectOptions } from './interfaces';
import { ReadWriteDataType, TCopyResult, ENodeType, TDeleteResult } from './interfaces';
export * from './interfaces';
export { sync, async } from './exists';
export interface IJetpack {
cwd(w?: any): IJetpack | string;
path(): string;
append(path: string, data: string | Buffer | Object, options?: AppendOptions): void;
appendAsync(path: string, data: string | Buffer | Object, options?: AppendOptions): Promise;
copy(from: string, to: string, options?: ICopyOptions): void;
copyAsync(from: string, to: string, options?: ICopyOptions): Promise;
createWriteStream(path: string, options?: {
flags?: string;
encoding?: string;
fd?: number;
mode?: number;
autoClose?: boolean;
start?: number;
}): any;
createReadStream(path: string, options?: {
flags?: string;
encoding?: string;
fd?: number;
mode?: number;
autoClose?: boolean;
start?: number;
end?: number;
}): any;
dir(path: string, criteria?: DirOptions): IJetpack;
dirAsync(path: string, criteria?: DirOptions): Promise;
exists(path: string): boolean | string;
existsAsync(path: string): Promise;
file(path: string, criteria?: FileOptions): void;
fileAsync(path: string, criteria?: FileOptions): Promise;
find(startPath: string, options: FindOptions): string[];
findAsync(startPath: string, options: FindOptions): Promise;
inspect(path: string, fieldsToInclude: IInspectOptions): INode;
inspectAsync(path: string, fieldsToInclude: IInspectOptions): Promise;
inspectTree(path: string, options?: InspectTreeOptions): INode;
inspectTreeAsync(path: string, options?: InspectTreeOptions): Promise;
list(path: string): string[];
listAsync(path: string): Promise;
move(from: string, to: string): void;
moveAsync(from: string, to: string): Promise;
read(path: string, returnAs?: string): ReadWriteDataType;
readAsync(path: string, returnAs?: string): Promise;
remove(path: string): void;
removeAsync(path: string): Promise;
rename(path: string, newName: string): void;
renameAsync(path: string, newName: string): Promise;
symlink(symlinkValue: string, path: string): void;
symlinkAsync(symlinkValue: string, path: string): Promise;
write(path: string, data: string | Buffer | Object, options?: IWriteOptions): void;
writeAsync(path: string, data: string | Buffer | Object, options?: IWriteOptions): Promise;
}
export declare const jetpack: (cwdPath?: string) => IJetpack;