import { PlatePlugin } from '@udecode/plate-common'; import { EditorValue } from './types'; type SerializerType = 'html' | 'md'; export declare const defaultHtmlSerializationsWorkingPlugins: PlatePlugin[]; export declare const defaultMdSerializationsWorkingPlugins: PlatePlugin[]; interface RteConverterOptions { /** * Plugins to use for (de)serialization. * If not provided, defaults to `defaultHtmlSerializationsWorkingPlugins` for HTML and `mdSerializationsWorkingPlugins` for Markdown. */ plugins?: PlatePlugin[]; } export declare const createDeserializer: (type?: SerializerType, options?: RteConverterOptions) => (data: string) => EditorValue; export declare const createSerializer: (type?: SerializerType, options?: RteConverterOptions) => (v: EditorValue) => string; export {}; //# sourceMappingURL=serialization.d.ts.map