import type { WidgetSchema } from '../spec'; import type { ID } from '../types'; import { BaseState } from './base-state'; type WidgetState = Map; export declare class WidgetStore extends BaseState { protected state: WidgetState; setWidgets(widgets: WidgetSchema[]): void; setWidget(widget: WidgetSchema): void; setWidgetProperties = Record>(widgetId: ID, properties: Properties): void; getWidgets(): WidgetSchema[]; getWidget(widgetId: ID): WidgetSchema | undefined; getWidgetProperties = Record>(widgetId: ID): Properties; } export {};