import { type ReactiveControllerHost } from 'lit'; import type { DashboardFullscreenController } from './fullscreen.controller.js'; import type { DashboardArrangementRequest } from '../utils/intent.types.js'; import type { DashboardPanel } from '../panel/panel.js'; import type { DashboardCommandContext, DashboardLayout } from '../dashboard.types.js'; interface DashboardCommandHost extends HTMLElement, ReactiveControllerHost { readonly value: DashboardLayout | undefined; } interface DashboardCommandDelegate { getPanels(): DashboardPanel[]; getLayout(): DashboardLayout | undefined; findLayoutProposal(layout: DashboardLayout, id: string, request: DashboardArrangementRequest): DashboardLayout | undefined; canCommit(layout: DashboardLayout): boolean; cancel(): void; commit(layout: DashboardLayout): boolean; readonly fullscreen: Pick; } /** Routes Invoker commands and publishes command availability. */ export declare class DashboardCommandController { #private; constructor(host: DashboardCommandHost, delegate: DashboardCommandDelegate); hostConnected(): void; hostDisconnected(): void; invalidate(): void; flush(): void; isCommandAvailable(command: string, context?: DashboardCommandContext): boolean; } export {};