import { FunctionComponent, VNode } from 'preact'; import { HTMLAttributes, JSX } from 'preact/compat'; import { ImageNodeRenderProps } from '@dropins/tools/types/elsie/src/components'; declare const supportedTypes: string[]; type OptionValue = { id: string; label: string; inStock: boolean; value: string; selected?: boolean; }; export type Option = { id: string; type: (typeof supportedTypes)[number]; label: string; required?: boolean; multiple?: boolean; items: OptionValue[]; }; type Selection = { [id: string]: { label: string; value: string; }; }; export interface SwatchesProps extends HTMLAttributes { options: Array