import { Editor } from '@tiptap/react';
import { RefObject } from 'react';
interface IUseBEditorInstanceParams {
    canSetValue: boolean;
    commitPendingValueSync: () => void;
    editorAccessibleLabel: string;
    editorClassName?: string;
    editorDomStyle: string | undefined;
    editorInputValue: string;
    editorLabelledBy?: string;
    isReadonly: boolean;
    isTitleMode: boolean;
    keyboardEditorRef: RefObject<Editor | null>;
    maxLength?: number;
    placeholder?: string;
    scheduleValueSync: (value: string | (() => string), options: {
        immediate?: boolean;
        prepared: boolean;
    }) => void;
    shouldTrackLimit: boolean;
    tabIndex?: number;
    updateCalculatedSize: (size: number) => void;
    valueSyncEditorRef: RefObject<Editor | null>;
    valueSyncMode: 'deferred' | 'immediate';
}
export declare function useBEditorInstance({ canSetValue, commitPendingValueSync, editorAccessibleLabel, editorClassName, editorDomStyle, editorInputValue, editorLabelledBy, isReadonly, isTitleMode, keyboardEditorRef, maxLength, placeholder, scheduleValueSync, shouldTrackLimit, tabIndex, updateCalculatedSize, valueSyncEditorRef, valueSyncMode, }: IUseBEditorInstanceParams): Editor | null;
export {};
