import type { EditorView } from '@atlaskit/editor-prosemirror/view';
import type { PopupPosition as Position } from '../ui';
export declare const calculateToolbarPositionAboveSelection: (toolbarTitle: string) => (editorView: EditorView, nextPos: Position) => Position;
export declare const calculateToolbarPositionTrackHead: (toolbarTitle: string) => (editorView: EditorView, nextPos: Position) => Position;
export type CoordsAtPos = {
    bottom: number;
    left: number;
    right: number;
    top: number;
};
export declare const calculateToolbarPositionOnCellSelection: (toolbarTitle: string) => (editorView: EditorView, nextPos: Position) => Position;
