import { AppInterface, BaseService, DashboardAdapterInterface, DashboardInterface, WidgetInterface, WidgetTypePresetsInterface } from ".."; export declare class DashboardService extends BaseService { private app; private adapter; private context; constructor(app: AppInterface, adapter: DashboardAdapterInterface); getDashboard(id: string): DashboardInterface; listDashboards(): DashboardInterface[]; getCurrentDashboard(): DashboardInterface; setCurrentDashboard(db: DashboardInterface): void; createDashboard(dashboard: DashboardInterface): Promise; updateDashboard(dashboard: DashboardInterface): Promise; deleteDashboard(dashboard: DashboardInterface): Promise; createWidget(widget: WidgetInterface): Promise; updateWidget(widget: WidgetInterface): Promise; deleteWidget(widget: WidgetInterface): Promise; addPresetsToDashboard(dashboard: DashboardInterface, presets: WidgetTypePresetsInterface[]): Promise; }