export interface ISelectProps { isDisabled?: boolean; isInvalid?: boolean; isRequired?: boolean; isHovered?: boolean; isFocused?: boolean; isFocusVisible?: boolean; closeOnOverlayClick?: boolean; selectedValue?: string | null; /** * @deprecated Use `initialLabel` instead. */ selectedLabel?: string; defaultValue?: string; initialLabel?: string; onValueChange?: (arg: string) => void; onClose?: () => void; onOpen?: () => void; placeholder?: string; } export interface ISelectItemProps { label: string; value: string; isDisabled?: boolean; } export type ISelectComponentType< SelectProps, SelectTriggerProps, SelectInputProps, SelectIconProps, SelectPortalProps, SelectBackdropProps, SelectContentProps, SelectDragIndicatorProps, SelectDragIndicatorWrapperProps, SelectItemProps, SelectItemTextProps, SelectScrollViewProps, SelectVirtualizedListProps, SelectFlatListProps, SelectSectionListProps, SelectSectionHeaderTextProps > = React.ForwardRefExoticComponent< React.PropsWithoutRef & ISelectProps & React.RefAttributes > & { Trigger: React.ForwardRefExoticComponent< React.PropsWithoutRef & React.RefAttributes >; Input: React.ForwardRefExoticComponent< React.PropsWithoutRef & React.RefAttributes >; Icon: React.ForwardRefExoticComponent< React.PropsWithoutRef & React.RefAttributes >; Portal: React.ForwardRefExoticComponent< React.PropsWithoutRef & React.RefAttributes >; Backdrop: React.ForwardRefExoticComponent< React.PropsWithoutRef & React.RefAttributes >; Content: React.ForwardRefExoticComponent< React.PropsWithoutRef & React.RefAttributes >; DragIndicator: React.ForwardRefExoticComponent< React.PropsWithoutRef & React.RefAttributes >; DragIndicatorWrapper: React.ForwardRefExoticComponent< React.PropsWithoutRef & React.RefAttributes >; Item: React.ForwardRefExoticComponent< ISelectItemProps & React.PropsWithoutRef & React.RefAttributes & { textStyle?: { [K in keyof SelectItemTextProps]?: SelectItemTextProps[K]; }; } >; ScrollView: React.ForwardRefExoticComponent< React.PropsWithoutRef & React.RefAttributes >; VirtualizedList: React.ForwardRefExoticComponent< React.PropsWithoutRef & React.RefAttributes >; FlatList: React.ForwardRefExoticComponent< React.PropsWithoutRef & React.RefAttributes >; SectionList: React.ForwardRefExoticComponent< React.PropsWithoutRef & React.RefAttributes >; SectionHeaderText: React.ForwardRefExoticComponent< React.PropsWithoutRef & React.RefAttributes >; };