type PreviewType = | PreviewTypeImage | PreviewTypeColor;
Represents a preview, which can be either an image or a color.
The PreviewType
type provides a set of values that describe a preview. These
options include settings for the image or color preview.