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