import { ElementRef, RefObject } from 'react'; import { Editor } from './editor'; interface RichTextContextValue { editorRef: RefObject>; richTextRef: RefObject; disabled: boolean; imageMaxSize: number; onImageAccept?: (file: File) => Promise; enableImageSrc: boolean; loading: boolean; setLoading: (loading: boolean) => void; withImage: boolean; withBlockType: boolean; withIndent: boolean; withAlignment: boolean; withFontSize: boolean; imageInsertWidthMax?: number; } export declare const RichTextContext: import("react").Context; export declare const useLocaleText: () => { getLocaleText: (key: string, ...args: import("@befe/brick-core").LocaleTextReplacement[]) => string | undefined; getLocaleTextImageMaxSize: (fileName: string) => string | undefined; }; export {};