import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
import type { EditorState } from '@atlaskit/editor-prosemirror/state';
/**
 *
 * @param editorState current editor state
 * @returns selected media node (child of mediaSingle only) with position
 */
export declare const currentMediaNodeWithPos: (editorState: EditorState) => {
    node: PMNode;
    pos: number;
} | undefined;
