export interface ToolEvent { target: HTMLElement; type: string; } interface Option { nodeWidth: number; nodeHeight: number; spaceWidth: number; spaceHeight: number; } export default class Toolbar { bar: HTMLDivElement; callback: Function; dragenter: Function; dragend: Function; filled: Function; changed: Function; zoomTexter: HTMLElement; deleteNode: HTMLElement; fillStyle: HTMLElement; setterContainer: HTMLElement; targetType: string; nodeType: string; constructor(element: HTMLDivElement); initPickColor(): void; initSetter(): void; onClick(callback: Function): void; onDrag(callback: Function): void; onDragend(callback: Function): void; onFill(callback: Function): void; onChange(callback: Function): void; setZoomText(text: number): void; enableDeleteNode(): void; disableDeleteNode(): void; static init(container: HTMLDivElement, options: Option): Toolbar; } export {};