import { BoundingBox, IPadding } from '../geometry'; import { IViewBuilder, WithOptions } from './builder'; import { Padded } from '.'; import { Container, DisplayObject } from '../scene'; import { IBuildContext } from './context'; export interface IStackOptions { spacing: number; spread: boolean; minWidth: number; maxWidth: number; } export declare class HStack extends WithOptions implements IViewBuilder { private readonly children; constructor(...children: Array); /** @hidden */ build(ctx?: Partial): Container; } export declare class VStack extends WithOptions implements IViewBuilder { private readonly children; constructor(...children: Array); padded(padding: number | IPadding): Padded; /** @hidden */ build(ctx?: Partial): StackContainer; } /** @hidden */ export declare class StackContainer extends Container { readonly options: IStackOptions; constructor(options: IStackOptions, ...children: Array); boundingBox(): BoundingBox; } /** Centers the children by default. */ export declare class ZStack implements IViewBuilder { private readonly children; constructor(...children: Array); /** @hidden */ build(ctx?: Partial): Container; }