import type { IntlShape } from 'react-intl';
import type { Dispatch } from '@atlaskit/editor-common/event-dispatcher';
import type { PortalProviderAPI } from '@atlaskit/editor-common/portal';
import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
import type { TypeAheadPlugin } from '../typeAheadPluginType';
import type { PopupMountPointReference, TypeAheadHandler } from '../types';
type Props = {
    api: ExtractInjectionAPI<TypeAheadPlugin> | undefined;
    getIntl: () => IntlShape;
    nodeViewPortalProviderAPI: PortalProviderAPI;
    popupMountRef: PopupMountPointReference;
    reactDispatch: Dispatch;
    typeAheadHandlers: Array<TypeAheadHandler>;
};
export declare function createPlugin({ reactDispatch, popupMountRef, typeAheadHandlers, getIntl, nodeViewPortalProviderAPI, api, }: Props): SafePlugin;
export {};
