import * as React from 'react'; import { BucketType, UploadPurpose } from '.'; import { FormItem, IFormItemProps, IFormItemStates } from './common/FomItem'; export interface IRichEditorProps extends IFormItemProps { bucketType: BucketType; uploadPurpose?: UploadPurpose; sidOrUidOrAccountId?: string; menubar: string | boolean; toolbar: string | boolean | Array; automaticUploads: boolean; } export declare class RichEditor extends FormItem { private s3UrlMap; static defaultProps: { height: number; menubar: string; toolbar: string; automaticUploads: boolean; name: undefined; value: undefined; error: undefined; oldValue: undefined; comparing: boolean; required: boolean; autoFocus: boolean; placeholder: undefined; disabled: boolean; customValidate: () => undefined; innerClass: undefined; onFocus: () => undefined; onBlur: () => undefined; }; constructor(props: IRichEditorProps); componentDidMount(): Promise; componentDidUpdate(prevProps: any, prevState: any): Promise; render(): React.JSX.Element; validate(option?: { silentValidation?: boolean | undefined; }): string | undefined; protected valueToDisplayValue(value: string | null | undefined): string; getValue(): string; private handleEditorChange; private handleImageUpload; private uploadToS3; private getBase64; private encodeImageInHtml; private decodeImageInHtml; private containsImportedImage; private processImportedContent; private containsBucketUrl; }