# Types (/themes/sdk/reference/editor/types)

```ts
import { … } from '@poltura/theme-sdk/editor';
```

## `PreviewScenarioOption` [#previewscenariooption]

One choice of a preview scenario, such as "Empty" for a cart.

<TypeTable type={{"value":{"description":"The value stored in the preview URL: lowercase letters, digits, `-` and `_`, up to 32 characters.","type":"string","required":true},"label":{"description":"The label shown in the customizer's Data picker.","type":"string","required":true}}} />

## `PreviewScenarioDomain` [#previewscenariodomain]

A state the customizer can preview a component in, such as reviews present or absent.

<TypeTable type={{"key":{"description":"The domain key `usePreviewScenario` reads: lowercase letters, digits, `-` and `_`.","type":"string","required":true},"label":{"description":"The label shown in the customizer's Data picker.","type":"string","required":true},"requiresAuth":{"description":"Whether the domain only means something while previewing a signed-in shopper.","type":"boolean","required":false},"options":{"description":"Two to six choices; the first one is what shoppers always see.","type":"readonly PreviewScenarioOption[]","required":true}}} />

## `PreviewScenarios` [#previewscenarios]

The preview scenarios a theme declares in `src/preview-scenarios.ts`.

```ts
type PreviewScenarios = readonly PreviewScenarioDomain[]
```
