import type { Editor } from 'mem-fs-editor';
/**
 * Read the entire contents of a file.
 *
 * @param filePath absolute path to a file.
 * @param fs optional `mem-fs-editor` instance. If provided, `read` api of `mem-fs-editor` is used.
 * @returns file content
 */
export declare function readFile(filePath: string, fs?: Editor): Promise<string>;
//# sourceMappingURL=read.d.ts.map