import type { EditorState } from '@atlaskit/editor-prosemirror/state';
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
export declare const isNestedInExpand: (state: EditorState) => boolean;
/** The element wrapping an expand's title and content, found from a position inside its content. */
export declare const getExpandWrapper: (editorView: EditorView, pos: number) => HTMLElement | null;
/** The title input of the expand whose content contains `pos`. */
export declare const getExpandTitleInput: (editorView: EditorView, pos: number) => HTMLInputElement | null;
