import { IStatusBarWidget } from '../../components/widgets/StatusBar'; /** * A status bar item as held in the shell store. Extends the presentational * {@link IStatusBarWidget} with `commandId`, which the connected wrapper * resolves against the {@link commandRegistry} at click time. */ export interface IStatusBarWidgetConfig extends IStatusBarWidget { /** Command to execute on click. Ignored if `onClick` is also provided. */ commandId?: string; } interface StatusBarState { widgets: IStatusBarWidgetConfig[]; setWidgets: (widgets: IStatusBarWidgetConfig[]) => void; addWidget: (widget: IStatusBarWidgetConfig) => void; removeWidget: (id: string) => void; updateWidget: (id: string, updates: Partial) => void; } /** * Shell-level store holding the status bar's items. Consumed by * `ConnectedStatusBar`; the presentational `StatusBar` does not read it. */ export declare const useStatusBarStore: import('zustand').UseBoundStore>; export type { IStatusBarWidget };