export interface FileInformations { mimeType: string | null; extension: string; name: string; } export declare class File { path: string; rawInformations?: Partial | undefined; informations: FileInformations; constructor(path: string, rawInformations?: Partial | undefined); delete(): Promise; move(newBasePath: string): Promise; rename(newName: string): Promise; deplace(newPath: string): Promise; exist(): Promise; static delete(path: string): Promise; static move(path: string, newPath: string): Promise; static rename(path: string, newPath: string): Promise; static deplace(path: string, newPath: string): Promise; static exist(path: string): Promise; static getExtension(path: string): string; static getName(path: string): string; static getPath(path: string): string; static makeInformation(path: string, informations?: Partial): { mimeType: string | null; extension: string; name: string; }; }