import type { ComponentProps, ReactNode } from 'react'; import type { FieldSize } from '../internal/Field'; export type SelectSize = FieldSize; export interface SelectProps extends Omit, 'size' | 'multiple'> { /** Height 32 / 40 / 48px — the same scale as Button and Input. */ size?: SelectSize; /** Visible label, associated with the select. */ label?: ReactNode; /** Help text under the select, linked with `aria-describedby`. */ description?: ReactNode; /** Invalid state. A message replaces the description; `true` keeps it. */ error?: ReactNode | boolean; /** Text of a first, disabled, empty option shown until the user picks a value. */ placeholder?: string; } /** * Native `