/// <reference types="react" />
import ClassicEditor from '@open-formulieren/ckeditor5-build-classic';
import './richText.scss';
export type ColorOption = Required<Required<(typeof ClassicEditor)['defaultConfig']>['fontColor']>['colors'] extends Array<infer C> ? C : never;
export interface RichTextProps {
    name: string;
    required?: boolean;
    supportsBackendTemplating?: boolean;
}
/**
 * A rich text editor based on CKEditor 5.
 *
 * The value is stored as an HTML string. This editor is a custom build based on CKEditor's
 * classic editor build, with some extra plugins enabled to match the features used/exposed
 * by Formio.js.
 */
declare const RichText: React.FC<RichTextProps>;
export default RichText;
