/// <reference types="node" resolution-mode="require"/>
import type { MemFsEditor } from '../index.js';
declare function read(this: MemFsEditor, filepath: string, options?: {
    raw?: boolean;
    defaults?: string | null;
}): string | null;
declare function read(this: MemFsEditor, filepath: string, options: {
    raw?: true;
    defaults?: Buffer | null;
}): Buffer | string | null;
export default read;
