import Editor from '../../Editor'; import { IconElemType } from '../../toolbar/IconProvider'; import { Point2 } from '@js-draw/math'; interface MenuOption { key: KeyType; text: string; icon: () => IconElemType; } declare const createMenuOverlay: (editor: Editor, canvasAnchor: Point2, options: MenuOption[]) => Promise; export default createMenuOverlay;