import type { NodeType, Node as PMNode, Schema } from '@atlaskit/editor-prosemirror/model';
import type { Transaction, Selection } from '@atlaskit/editor-prosemirror/state';
import { type ContentNodeWithPos } from '@atlaskit/editor-prosemirror/utils';
export declare function getSelectedNodeOrNodeParentByNodeType({ nodeType, selection, }: {
    nodeType: NodeType | Array<NodeType>;
    selection: Transaction['selection'];
}): ContentNodeWithPos | undefined;
export declare const toDOM: (node: PMNode, schema: Schema) => Node;
export declare const copyDomNode: (domNode: Node, nodeType: NodeType, selection: Selection) => void;
