import Parent from '../../block/base/parent'; import Muya from '../../index'; export type QuickInsertMenuItem = { name: string; children: { title: string; subTitle: string; label: string; icon: string; score?: number; i18nTitle?: string; shortCut?: string; shortKeyMap?: { altKey: boolean; shiftKey: boolean; metaKey: boolean; code: string; }; }[]; }; export declare const MENU_CONFIG: QuickInsertMenuItem[]; export declare const getLabelFromEvent: (event: Event) => string | undefined; export declare const replaceBlockByLabel: ({ block, muya, label, text }: { block: Parent; muya: Muya; label: string; text?: string | undefined; }) => void;