import { ElementType, ReactNode } from 'react'; import { RichTextEditorOptions } from '@42/core/rich-text-editor'; export interface RichTextEditorProps extends Partial { /** Element/tag rendered as the controller root. Defaults to `"div"`. */ as?: ElementType; className?: string; children?: ReactNode; /** Fired on `richtexteditor:command` — detail: `{ command, value? }` */ onCommand?: (detail: unknown, event: CustomEvent) => void; /** Fired on `richtexteditor:change` — detail: `{ html }` */ onChange?: (detail: unknown, event: CustomEvent) => void; /** Extra props are forwarded to the rendered `
` element. */ [key: string]: unknown; } export declare function RichTextEditor(props: RichTextEditorProps): import("react").JSX.Element;