import { LexicalEditor } from "lexical"; interface IWriteOptions { /** * Normalize the serialized output where the data source supports it (markdown: a remark * round-trip). Pass `false` to get the writers' output verbatim. * @default true */ format?: boolean; selection?: boolean; } declare class DataSource { protected dataType: string; constructor(dataType: string); get type(): string; read(editor: LexicalEditor, data: any, options?: Record): void; write(editor: LexicalEditor, options?: IWriteOptions): any; } export { IWriteOptions, DataSource as default };