import type { Node as PmNode } from '@atlaskit/editor-prosemirror/model';
import type { Selection } from '@atlaskit/editor-prosemirror/state';
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
export declare const expandedState: WeakMap<PmNode, boolean>;
export declare const isExpandCollapsed: (node: PmNode) => boolean;
export declare const getNextNodeExpandPos: (editorView: EditorView, selection: Selection) => number | undefined;
