export type ViewNodeKind = "box" | "text"; export type ViewNode = { readonly kind: ViewNodeKind; readonly props: Readonly>; readonly text?: string; readonly children?: readonly ViewNode[]; }; export declare function box(props: Readonly>, children?: readonly ViewNode[]): ViewNode; export declare function text(props: Readonly>, value: string): ViewNode;