/// import { SlotRegistry } from '@teambit/harmony'; export declare type MenuItem = { label: string; onClick: () => void; }; export declare type TopBarSlotRegistry = SlotRegistry; export declare class WorkspaceUI { private topBarSlot; constructor(topBarSlot: TopBarSlotRegistry); registerMenuItem(menuItem: MenuItem): this; getMain(): JSX.Element; static slots: ((registerFn: () => string) => SlotRegistry)[]; static provider(deps: any, config: any, [topBarSlot]: [TopBarSlotRegistry]): Promise; }