import type { DashboardAction, DashboardArrangementRequest } from '../utils/intent.types.js'; import type { DashboardPanel } from '../panel/panel.js'; import type { DashboardGridPlacement, DashboardLayout } from '../dashboard.types.js'; interface DashboardArrangementHost { readonly rearrangeable: boolean; readonly autoSettle: boolean; matches(selectors: string): boolean; } interface DashboardArrangementDelegate { getCommittedLayout(): DashboardLayout | undefined; getPanels(): DashboardPanel[]; getOwnedPanels(): DashboardPanel[]; isReady(): boolean; getKnown(): ReadonlySet; getLayout(): DashboardLayout | undefined; isFullscreenActive(): boolean; cancel(): void; commit(layout: DashboardLayout): boolean; } /** Applies arrangement permissions and operations to the current supplied panels. */ export declare class DashboardArrangementController { #private; constructor(host: DashboardArrangementHost, delegate: DashboardArrangementDelegate); place(id: string, placement: DashboardGridPlacement): boolean; createArrangementStateCheck(): () => boolean; findLayoutProposal(layout: DashboardLayout, id: string, request: DashboardArrangementRequest): DashboardLayout | undefined; isActionAllowed(panel: DashboardPanel, action: DashboardAction): boolean; canCommit(layout: DashboardLayout): boolean; } export {};