import { File } from '../file/file'; import { IFile } from '../types'; /** * if given a file it ignores its contents and alwasys read again from FS */ export declare function readFile(f: string | IFile, FS?: import("..").FS): File; /** * Returns file name / path of given file relative to emscripten FS root (in the context of emscripten FS) */ export declare function getFileName(f: string | IFile): string; /** * Returns absolute path of given file (in the context of emscripten FS) */ export declare function getFilePath(f: string | IFile): string; export declare function writeFile(f: IFile, FS?: import("..").FS): void; export declare function removeFile(f: string | IFile, FS?: import("..").FS): void; export declare function isDir(f: string | IFile, FS?: import("..").FS): boolean; export declare function isFile(f: string | IFile, FS?: import("..").FS): boolean;