import { Editor } from '@tiptap/react';
import { default as React } from 'react';
import { IBEditorTableCellAddress, IBEditorTableDragAnchor } from '../../core/types';
import { IBEditorTableSelectionOverlay } from '../selection';
import { TBEditorMutableRef, TBEditorTableSelectionMode } from '../types';
interface IUseBEditorTableKeyboardNavigationParams {
    clearTableSelectionOverlay: () => void;
    editor: Editor | null;
    editorContainerRef: React.RefObject<HTMLDivElement | null>;
    isReadonly: boolean;
    isTitleMode: boolean;
    rememberTableSelectionCells: (cells: HTMLTableCellElement[]) => void;
    rememberTableSelectionEndpoints: (anchorCell: HTMLTableCellElement | null, headCell?: HTMLTableCellElement | null) => void;
    resolveRememberedTableSelectionCell: (address: IBEditorTableCellAddress | null, fallbackCell: HTMLTableCellElement | null) => HTMLTableCellElement | null;
    scheduleTableMenuPosition: (event?: Event) => void;
    scheduleTableSelectionOverlaySync: (cells?: HTMLTableCellElement[]) => void;
    syncTableSelectionOverlay: (cells?: HTMLTableCellElement[]) => IBEditorTableSelectionOverlay | null;
    tableDragAnchorRef: TBEditorMutableRef<IBEditorTableDragAnchor | null>;
    tableDragMovedRef: TBEditorMutableRef<boolean>;
    tableEditingCellAddressRef: TBEditorMutableRef<IBEditorTableCellAddress | null>;
    tableSelectionAnchorAddressRef: TBEditorMutableRef<IBEditorTableCellAddress | null>;
    tableSelectionCellAddressesRef: TBEditorMutableRef<IBEditorTableCellAddress[]>;
    tableSelectionCellsRef: TBEditorMutableRef<HTMLTableCellElement[]>;
    tableSelectionHeadAddressRef: TBEditorMutableRef<IBEditorTableCellAddress | null>;
    tableSelectionModeRef: TBEditorMutableRef<TBEditorTableSelectionMode>;
    updateTableMenuPosition: (nextPosition: {
        left: number;
        top: number;
    } | null) => void;
}
export declare function useBEditorTableKeyboardNavigation({ clearTableSelectionOverlay, editor, editorContainerRef, isReadonly, isTitleMode, rememberTableSelectionCells, rememberTableSelectionEndpoints, resolveRememberedTableSelectionCell, scheduleTableMenuPosition, scheduleTableSelectionOverlaySync, syncTableSelectionOverlay, tableDragAnchorRef, tableDragMovedRef, tableEditingCellAddressRef, tableSelectionAnchorAddressRef, tableSelectionCellAddressesRef, tableSelectionCellsRef, tableSelectionHeadAddressRef, tableSelectionModeRef, updateTableMenuPosition, }: IUseBEditorTableKeyboardNavigationParams): void;
export {};
