import type { NodeType, Node as PMNode, Schema } from '@atlaskit/editor-prosemirror/model';
import type { Transaction } from '@atlaskit/editor-prosemirror/state';
export declare function getSelectedNodeOrNodeParentByNodeType({ nodeType, selection, }: {
    nodeType: NodeType | Array<NodeType>;
    selection: Transaction['selection'];
}): import("prosemirror-utils/dist/types").FindResult;
export declare const toDOM: (node: PMNode, schema: Schema) => Node;
