import { Editor } from '@tiptap/react';
import { default as React } from 'react';
import { IBEditorTableCellAddress } from '../../core/types';
import { IBEditorTableSelectionOverlay } from '../selection';
import { TBEditorMutableRef } from '../types';
interface IUseBEditorTableDomEffectsParams {
    clearTableSelectionOverlay: () => void;
    closeTableFloatingUi: () => void;
    editor: Editor | null;
    editorContainerRef: React.RefObject<HTMLDivElement | null>;
    editorResizeDragRef: React.RefObject<boolean>;
    isReadonly: boolean;
    isTitleMode: boolean;
    scheduleTableMenuPosition: (event?: Event) => void;
    syncTableMenuPosition: (event?: Event) => void;
    syncTableSelectionOverlay: (cells?: HTMLTableCellElement[]) => IBEditorTableSelectionOverlay | null;
    tableCommandCellAddressesRef: TBEditorMutableRef<IBEditorTableCellAddress[]>;
    tableEditingCellAddressRef: TBEditorMutableRef<IBEditorTableCellAddress | null>;
    tablePointerDownRef: TBEditorMutableRef<boolean>;
    tableSelectionCellAddressesRef: TBEditorMutableRef<IBEditorTableCellAddress[]>;
    tableSelectionCellsRef: TBEditorMutableRef<HTMLTableCellElement[]>;
    tableSelectionOverlay: IBEditorTableSelectionOverlay | null;
}
export declare function useBEditorTableDomEffects({ clearTableSelectionOverlay, closeTableFloatingUi, editor, editorContainerRef, editorResizeDragRef, isReadonly, isTitleMode, scheduleTableMenuPosition, syncTableMenuPosition, syncTableSelectionOverlay, tableCommandCellAddressesRef, tableEditingCellAddressRef, tableSelectionCellAddressesRef, tableSelectionCellsRef, tableSelectionOverlay, tablePointerDownRef, }: IUseBEditorTableDomEffectsParams): void;
export {};
