import * as React from 'react'; export { Editor, EditorContent, EditorOptions, useEditor } from '@tiptap/react'; interface RichTextEditorProps { /** Controlled HTML value. */ value?: string; /** Uncontrolled initial HTML. */ defaultValue?: string; /** Fires with the editor's HTML on every change. */ onValueChange?: (html: string) => void; /** Empty-state placeholder text. */ placeholder?: string; /** Allow editing. Default `true`. */ editable?: boolean; /** Show the formatting toolbar. Default `true`. */ toolbar?: boolean; className?: string; /** Class for the editable content surface. */ contentClassName?: string; } /** * RichTextEditor — a TipTap editor with a Silica-styled toolbar and content * surface. Emits HTML via `onValueChange`; control it with `value` or run * uncontrolled with `defaultValue`. StarterKit + Link + Placeholder are wired in; * drop `toolbar={false}` for a bare editable surface. */ declare function RichTextEditor({ value, defaultValue, onValueChange, placeholder, editable, toolbar, className, contentClassName, }: RichTextEditorProps): React.JSX.Element; export { RichTextEditor, type RichTextEditorProps };