import type { Ref } from "react"; import type { FormFieldProps } from "../FormField"; import type { FocusEvents, HTMLInputBaseProps, RebuiltInputCommonProps } from "../sharedHelpers/types"; export interface LegacySelectProps extends Omit, FocusEvents, Omit, Pick { readonly value?: string | number; onChange?(newValue?: string | number): void; readonly inputRef?: Ref; /** * @deprecated Use `onKeyDown` or `onKeyUp` instead. */ readonly onEnter?: FormFieldProps["onEnter"]; /** * Opt-in to the customizable select UI (Chromium 123+). * When true, the component will apply the custom select styles * Defaults to false for native behavior. */ readonly UNSAFE_experimentalStyles?: boolean; }