import { type ComponentType } from 'react'; import type { DataFileRef } from 'openxiangda-contracts/browser'; import { type WorkflowFileBinding } from '../../platform-client'; export declare function RichTextValueDisplay({ value, resourceCode, workflowBinding, }: { value: string; resourceCode?: string; workflowBinding?: WorkflowFileBinding; }): import("react/jsx-runtime").JSX.Element; export interface RichTextFieldProps { recordId?: string; fieldCode?: string; value?: string; onChange?: (value: string) => void; disabled?: boolean; mobile?: boolean; onUpload?: (file: File, onRecovered?: (file: DataFileRef) => void) => Promise; resourceCode?: string; workflowBinding?: WorkflowFileBinding; } /** Custom editors receive the same field, upload and workflow boundaries. */ export declare const RichTextEditorProvider: import("react").Provider | null>; export declare function RichTextField(props: RichTextFieldProps): import("react/jsx-runtime").JSX.Element; export declare function DefaultRichTextField({ value, onChange, disabled, mobile, onUpload, resourceCode, workflowBinding, recordId, fieldCode }: RichTextFieldProps): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=RichTextField.d.ts.map