import type { EditorInterface } from '@aomao/engine'; import type { GroupItemProps } from '../../Toolbar'; declare type PopupOptions = { items?: GroupItemProps[]; }; export default class Popup { #private; constructor(editor: EditorInterface, options?: PopupOptions); onSelect: () => void; showContent(callback?: () => void): void; hide: (event?: MouseEvent) => void; destroy(): void; } export type { GroupItemProps };