import type { CSSProperties } from 'react'; import type { EditorView } from '@atlaskit/editor-prosemirror/view'; import type { AnchorRectCache } from './utils/anchor-utils'; export declare const calculatePosition: ({ rootAnchorName, anchorName, view, getPos, rootNodeType, macroInteractionUpdates, anchorRectCache, }: { anchorName: string; anchorRectCache: AnchorRectCache | undefined; getPos: () => number | undefined; macroInteractionUpdates: boolean | undefined; rootAnchorName: string | undefined; rootNodeType: string; view: EditorView; }) => CSSProperties;