import type { MemFsEditor } from '../index.js'; declare function read(this: MemFsEditor, filepath: string, options?: never): string; declare function read(this: MemFsEditor, filepath: string, options: { raw?: false; defaults: DefaultType; }): string | DefaultType; declare function read(this: MemFsEditor, filepath: string, options: { raw: true; defaults?: never; }): Buffer; declare function read(this: MemFsEditor, filepath: string, options: { raw: true; defaults: DefaultType; }): Buffer | DefaultType; export default read;