import MultiSelect from './MultiSelect'; import SingleSelect from './SingleSelect'; import type { MultiSelectProps } from './MultiSelect'; import type { SingleSelectProps } from './SingleSelect'; import type { SelectOptionType } from './types'; export type { MultiSelectProps, SingleSelectProps }; type SingleSelectType = < V, T extends SelectOptionType = SelectOptionType >( props: Omit< SingleSelectProps, 'TextInputComponent' | 'groupStyleEnabled' > ) => React.ReactElement; type MultiSelectType = = SelectOptionType>( props: Omit< MultiSelectProps, 'TextInputComponent' | 'groupStyleEnabled' > ) => React.ReactElement; export default Object.assign(SingleSelect as SingleSelectType, { Multi: MultiSelect as MultiSelectType, });