import { PanelRef } from './panel'; export type LayoutDefinition = GridDefinition | TabDefinition; export interface GridDefinition { kind: 'Grid'; spec: { display?: { title: string; collapse?: { open: boolean; }; }; items: GridItemDefinition[]; repeatVariable?: string; }; } export interface RepeatVariable { value: string; maxPer?: number; alignment?: 'horizontal' | 'vertical'; } export interface GridItemDefinition { x: number; y: number; width: number; height: number; content: PanelRef; repeatVariable?: RepeatVariable; } export interface TabDefinition { kind: 'Tabs'; spec: { display?: { title: string; collapse?: { open: boolean; }; }; tabs: TabItemDefinition[]; defaultTab?: number; }; } export interface TabItemDefinition { name: string; items: GridItemDefinition[]; } //# sourceMappingURL=layout.d.ts.map