import { DashboardBreakpoint, DashboardBreakpointKey, DashboardLayouts, DashboardWidget, WidgetLayout } from './dashboard-layout-types'; export declare function resolveActiveBreakpoint(width: number, breakpoints: DashboardBreakpoint[]): DashboardBreakpoint; export declare function getLayoutForBreakpoint(layouts: DashboardLayouts, bpKey: string, breakpoints: DashboardBreakpoint[]): WidgetLayout[] | undefined; export declare function generateAutoLayout(widgets: DashboardWidget[], columns: number): WidgetLayout[]; export declare function scaleLayoutToColumns(layout: WidgetLayout[], fromCols: number, toCols: number): WidgetLayout[]; export declare function ensureLayoutForBreakpoint(layouts: DashboardLayouts, bp: DashboardBreakpoint, widgets: DashboardWidget[], allBreakpoints: DashboardBreakpoint[]): WidgetLayout[]; export declare function compactLayoutVertical(layout: WidgetLayout[]): WidgetLayout[]; export declare function collides(item: WidgetLayout, others: WidgetLayout[]): boolean; export declare function moveWidget(layout: WidgetLayout[], id: string, nextX: number, nextY: number, columns: number, allowOverlap: boolean): WidgetLayout[]; export declare function resizeWidget(layout: WidgetLayout[], id: string, nextW: number, nextH: number, columns: number, allowOverlap: boolean): WidgetLayout[]; export declare function removeWidgetFromLayout(layout: WidgetLayout[], id: string): WidgetLayout[]; export declare function addWidgetToLayout(layout: WidgetLayout[], widget: DashboardWidget, columns: number): WidgetLayout[]; export declare function persistLayoutsToStorage(key: string, state: unknown): void; export declare function loadLayoutsFromStorage(key: string): T | null; export type { DashboardBreakpointKey };