import { DrawingID } from '@buerli.io/core'; export declare type ToolBarCommand = { label: string; icon: any; callback: () => Promise; }; export declare type ToolBarDivider = { type: 'divider'; }; export declare function useCommands(drawingId: DrawingID, curProductClass: string | undefined): (ToolBarCommand | ToolBarDivider | ToolBarCommand[])[];