type BoxType = "bounds" | "box" | "linear"; type ReferenceType = "self" | "parent" | "previousSibling" | "nextSibling"; type OrientationAttr = "horizontal" | "vertical"; type LayoutDirection = "row" | "column"; type FloatDirectionAttr = "left" | "right" | "none"; type ClearDirectionAttr = "left" | "right" | "both" | "none"; type InlineDirectionAttr = "inline-start" | "inline-end"; type AnchorPositionAttr = PositionAttr | "baseline" | "leftRight" | "rightLeft" | "topBottom" | "bottomTop" | "centerHorizontal" | "centerVertical"; type DimensionSizableAttr = DimensionAttr | "minWidth" | "minHeight" | "maxWidth" | "maxHeight"; type BorderAttr = keyof { [K in keyof BoxBorder as `${K}Width`]: unknown }; type MIMECategory = "image" | "audio" | "video" | "text" | "font" | "application"; type ResourceRawAsset = "audio" | "video"; type ResourceAssetType = ResourceRawAsset | "image" | "fonts" | "rawData"; type ResourceAssetTagName = ResourceRawAsset | "object" | "embed" | "iframe";