export type Distribution = "start" | "center" | "end" | "space_between" | "space_around" | "space_evenly"; export type VerticalAlignment = "top" | "center" | "bottom"; type HorizontalDimension = { type: "horizontal"; alignment: VerticalAlignment; distribution: Distribution; }; export type HorizontalAlignment = "leading" | "center" | "trailing"; type VerticalDimension = { type: "vertical"; alignment: HorizontalAlignment; distribution: Distribution; }; export type ZAlignment = "top_leading" | "top" | "top_trailing" | "leading" | "center" | "trailing" | "bottom_leading" | "bottom" | "bottom_trailing"; type ZDimension = { type: "zlayer"; alignment: ZAlignment; distribution?: unknown; }; export type Dimension = HorizontalDimension | VerticalDimension | ZDimension; export {};