import LogicFlow, { Extension } from 'flow-lcl/core'; declare type ControlItem = { key: string; iconClass: string; title: string; text: string; onClick?: Function; onMouseEnter?: Function; onMouseLeave?: Function; }; interface ControlPlugin extends Extension { name: string; __lf?: LogicFlow; __controlItems: ControlItem[]; addItem: (item: ControlItem) => void; removeItem: (key: string) => ControlItem; install: (lf: any) => void; render: (lf: any, domContainer: any) => void; __getControlTool: () => HTMLElement; } declare const Control: ControlPlugin; export default Control; export { Control, };