export type SelectValue = boolean | string | readonly unknown[] | Readonly> | number | null; export interface SelectOption { value: T; text?: string; disabled?: boolean; [key: string]: unknown; } export type SelectOptionRaw = string | SelectOption; export type ComplexSelectOption = Readonly<{ label: string; options: readonly SelectOption[]; }>; export type ComplexSelectOptionRaw = Readonly<{ label: string; options: readonly SelectOptionRaw[]; }>;