import { Node as PMNode } from 'prosemirror-model';
import { Transaction } from 'prosemirror-state';
/**
 * Finds all top level nodes affected by the transaction
 * Uses from/to positions in transaction's steps to work out which nodes will
 * be changed by the transaction
 */
export declare const findChangedNodesFromTransaction: (tr: Transaction) => PMNode[];
export declare const validNode: (node: PMNode) => boolean;
/** Validates prosemirror nodes, and returns true only if all nodes are valid */
export declare const validateNodes: (nodes: PMNode[]) => boolean;
export declare const isNodeTypeParagraph: (node: PMNode | undefined | null) => boolean;
