import { ProviderFactory } from '@uidu/editor-common';
import { Node as PMNode } from 'prosemirror-model';
import { EditorView, NodeView } from 'prosemirror-view';
import React from 'react';
import { getPosHandler, ReactNodeView } from '../../../nodeviews';
import { PortalProviderAPI } from '../../../ui/PortalProvider';
import { EmojiPluginOptions } from '../types';
export interface Props {
    providerFactory: ProviderFactory;
    options?: EmojiPluginOptions;
}
export declare class EmojiNodeView extends ReactNodeView<Props> {
    createDomRef(): HTMLElement;
    render(props: Props): React.JSX.Element;
}
export default function emojiNodeView(portalProviderAPI: PortalProviderAPI, providerFactory: ProviderFactory, options?: EmojiPluginOptions): (node: PMNode, view: EditorView, getPos: getPosHandler) => NodeView;
