import type { LayoutSchema, LayoutType, ComponentSchema } from './types'; export interface LayoutComponent { toJSON(): ComponentSchema; } export declare class Layout { private readonly _type; private readonly _children; get type(): LayoutType; get children(): readonly LayoutComponent[]; addChild(component: LayoutComponent): this; addChildren(...components: LayoutComponent[]): this; toJSON(): LayoutSchema; }