export class Toolbar { constructor(canvas: any, toolManager: any, font: any, scale?: number); canvas: any; toolManager: any; font: any; scale: number; imguiCtx: any; buttons: Map; activeTool: any; panelX: number; panelY: number; panelW: number; panelH: number; panelBg: { r: number; g: number; b: number; a: number; }; panelBorder: { r: number; g: number; b: number; a: number; }; paddingx: number; /** * Set the IMGUI context (must be called before update/draw) */ setIMGUIContext(imguiCtx: any): void; buildUI(): void; toolConfigs: { name: string; label: string; hotkey: string; }[]; /** * Get the bounding box of the toolbar panel * @returns {Object} { x, y, w, h } */ getBounds(): any; updateActiveButton(): void; draw(): void; onToolChanged(): void; }