import type { SelectRootProps, SelectRootEmits, SelectTriggerProps, SelectPortalProps, SelectContentProps, SelectViewportProps, AcceptableValue, } from 'reka-ui' export interface BaseSelectProps extends SelectRootProps { /** * The form input identifier. */ id?: string /** * The placeholder to display for the select input. */ placeholder?: string /** * The variant of the select input. * * @default 'default' */ variant?: 'default' | 'muted' /** * The radius of the select input. * * @default 'md' */ rounded?: 'none' | 'sm' | 'md' | 'lg' | 'full' /** * The size of the select input. * * @default 'md' */ size?: 'sm' | 'md' | 'lg' | 'xl' /** * Bindings presets * * @default 'aligned' */ preset?: 'aligned' | 'popper' /** * Optional bindings to pass to the inner components. */ bindings?: { trigger?: SelectTriggerProps & Record portal?: SelectPortalProps & Record content?: SelectContentProps & Record viewport?: SelectViewportProps & Record }, } export interface BaseSelectEmits extends SelectRootEmits {} export type BaseSelectSlots = { default(): any label(): any } export type BaseSelectConfig = { variant: NonNullable rounded: NonNullable size: NonNullable preset: NonNullable } export interface BaseSelectContext { variant: NonNullable rounded: NonNullable }