import { DocumentAnnotationsListContext, ObjectsViewContext } from "../contexts"; import { IToolbarBuilder } from "./toolbar.builder"; /** * Interface that allows to add new items to the toolbar * @exposedInterface */ export declare abstract class IToolbar { constructor(); /** * The method is called just before the toolbar is created * @param builder - the toolbar builder object of associated toolbar * @param context - context */ build(builder: IToolbarBuilder, context: TToolbarContext): void; /** * * @param name * @param context */ onToolbarItemClick(name: string, context: TToolbarContext): void; }