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 | undefined; getIntl: () => IntlShape; nodeViewPortalProviderAPI: PortalProviderAPI; popupMountRef: PopupMountPointReference; reactDispatch: Dispatch; typeAheadHandlers: Array; }; export declare function createPlugin({ reactDispatch, popupMountRef, typeAheadHandlers, getIntl, nodeViewPortalProviderAPI, api, }: Props): SafePlugin; export {};