import { PopupDirection } from '../../schema/index.ts'; interface RichTextEditorProps { html: string; /** Text direction of the popup being authored (independent of the builder UI). */ dir: PopupDirection; /** Show the "insert coupon" button. Off for error copy, where a coupon makes no * sense (there's no successful response to draw a code from). Defaults to true. */ allowCoupon?: boolean; onChange: (html: string) => void; } export declare function RichTextEditor({ html, dir, allowCoupon, onChange }: RichTextEditorProps): import("react").JSX.Element | null; export {};