import { DocumentAnnotationsListContext, ObjectsViewContext } from "../contexts"; import { IMenuBuilder } from "./menu.builder"; /** * Interface that allows to add new items to the menu and context menus * @exposedInterface */ export declare abstract class IMenu { /** * The method is called just before the menu is shown * @param builder The menu builder object of associated menu * @param context Context */ build(builder: IMenuBuilder, context: TMenuContext): void; /** * * @param name * @param context */ onMenuItemClick(name: string, context: TMenuContext): void; }