/// <reference types="react" />
import * as React from 'react';
import ProviderFactory from '../providerFactory';
import { EditorView, Node as PMNode, NodeView } from '../prosemirror';
export interface ReactNodeViewComponents {
    [key: string]: React.ComponentClass<any> | React.StatelessComponent<any>;
}
export default function nodeViewFactory(providerFactory: ProviderFactory, reactNodeViewComponents: ReactNodeViewComponents, isBlockNodeView?: boolean): (node: PMNode, view: EditorView, getPos: () => number) => NodeView;
