import React from 'react'; import type { Transaction } from '@atlaskit/editor-prosemirror/state'; import type { EditorView } from '@atlaskit/editor-prosemirror/view'; import type { INPUT_METHOD } from '../analytics'; import type { TypeAheadInsert } from '../types'; export type OnSelectContext = { editorView: EditorView; insert: TypeAheadInsert; source: INPUT_METHOD.ELEMENT_BROWSER | INPUT_METHOD.QUICK_INSERT | INPUT_METHOD.TOOLBAR; }; export type QuickInsertMenuItemProps = { ariaLabel?: string; description?: string; iconBefore?: React.ReactNode; isDisabled?: boolean; onSelect: (context: OnSelectContext) => Transaction | false | void; shortcut?: string; shouldWrapIcon?: boolean; title: string; }; export declare const QuickInsertMenuItem: ({ ariaLabel, description, iconBefore, isDisabled, onSelect, shortcut, shouldWrapIcon, title, }: QuickInsertMenuItemProps) => React.JSX.Element;