import { Editor } from '@tiptap/react'; import { RichTextValue } from '../types/RichTextEditor.types.ts'; type UseRichTextEditorOptions = { value?: RichTextValue; defaultValue?: RichTextValue; onValueChange?: (value: RichTextValue) => void; disabled: boolean; readOnly: boolean; required: boolean; label?: string; placeholder?: string; error?: string; helperText?: string; labelId: string; helperId: string; ariaLabel?: string; ariaLabelledBy?: string; }; export declare const useRichTextEditor: ({ value, defaultValue, onValueChange, disabled, readOnly, required, label, placeholder, error, helperText, labelId, helperId, ariaLabel, ariaLabelledBy, }: UseRichTextEditorOptions) => Editor | null; export {};