import { ProviderFactory } from '@uidu/editor-common/provider-factory';
import { EmojiDescription, EmojiProvider } from '@uidu/emoji';
import { EditorState, Plugin, PluginKey } from 'prosemirror-state';
import { Dispatch } from "../../event-dispatcher/index.js";
import { Command, EditorPlugin } from "../../types/index.js";
import { PortalProviderAPI } from "../../ui/PortalProvider/index.js";
import { EmojiPluginOptions, EmojiPluginState } from "./types.js";
export declare const defaultListLimit = 50;
declare const emojiPlugin: (options?: EmojiPluginOptions) => EditorPlugin;
export default emojiPlugin;
/**
 * Actions
 */
export declare const ACTIONS: {
    SET_PROVIDER: string;
    SET_RESULTS: string;
};
export declare const setProvider: (provider?: EmojiProvider) => Command;
export declare const setResults: (results: {
    emojis: Array<EmojiDescription>;
}) => Command;
export declare const emojiPluginKey: PluginKey<any>;
export declare function getEmojiPluginState(state: EditorState): EmojiPluginState;
export declare function emojiPluginFactory(dispatch: Dispatch, providerFactory: ProviderFactory, portalProviderAPI: PortalProviderAPI, options?: EmojiPluginOptions): Plugin<EmojiPluginState>;
