interface RichTextEditorOptions { /** * Emit the code-embed blot, preview and dialog. Off unless a rich-text field * in the project actually enables the `tq-embed` format, so an editor that * does not offer embeds is generated exactly as it always was. */ withEmbeds?: boolean; } /** * Generates the RichTextEditor wrapper component source code. * * The component uses `react-quill-new` via `next/dynamic` to avoid SSR issues * (Quill accesses `document`). It builds a Quill toolbar configuration from the * `quillFormats` prop and supports both the "snow" and "bubble" themes. * * With embeds enabled it also registers the `tq-embed` block blot, adds the * toolbar button that opens the embed dialog, previews sandboxed embeds beside * their block, and normalizes those previews back out of the value before it * reaches `onChange`. */ export declare const generateRichTextEditorComponentCode: (options?: RichTextEditorOptions) => string; export {}; //# sourceMappingURL=component-generator.d.ts.map