import { GridsterConfig, Draggable, Resizable, PushDirections } from '../@shared'; import { MfeWidgetType } from './dashboard-widget-options.model'; export interface Safe extends GridsterConfig { draggable: Draggable; resizable: Resizable; pushDirections: PushDirections; } export interface SingleGridBoxItem { x: number; y: number; cols: number; rows: number; hasContent: boolean; widgetOptions?: MfeWidgetType[]; id: number; [key: string]: any; } export interface IGridLayOutInstance { options: Safe; layoutName: string; layoutDescription: string; layoutId: string; properties?: { autoHeight?: boolean; }; width?: any; height?: any; dashboardItems: SingleGridBoxItem[]; } export declare class GridLayOutInstance implements IGridLayOutInstance { options: Safe; layoutName: string; layoutDescription: string; layoutId: any; properties: { autoHeight: boolean; }; dashboardItems: SingleGridBoxItem[]; setValue?(editMode: boolean, name: any, id: any, items: any, options: any): void; changedOptions?(): void; }