import React from 'react';
import type { IntlShape } from 'react-intl-next';
import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
import type { ExtensionAPI, ExtensionProvider } from '../extensions';
export interface DropdownMenuOptions {
    dispatchCommand: Function;
    hide: Function;
    intl: IntlShape;
    showSelected: boolean;
}
type OverflowExtensionPlaceholderProps = {
    areAnyNewToolbarFlagsEnabled: boolean;
    disabled?: (key: string) => boolean;
    dropdownOptions?: DropdownMenuOptions;
    editorView: EditorView;
    extension: ExtensionProps;
    node: PMNode;
};
export type ExtensionProps = {
    extensionApi?: ExtensionAPI;
    extensionProvider?: Promise<ExtensionProvider>;
};
export declare const DropdownMenuExtensionItems: (props: OverflowExtensionPlaceholderProps) => React.JSX.Element | null;
export {};
