import { Select as AntSelect } from 'antd'; import type { SelectProps as AntSelectProps, RefSelectProps, BaseOptionType, DefaultOptionType } from 'antd/es/select'; import type { Locale as AntLocale } from 'antd/es/locale'; import type { OptGroup, Option } from 'rc-select'; import React from 'react'; export * from 'antd/es/select'; export type SelectLocale = AntLocale['Select'] & { placeholder?: string; }; export interface SelectProps extends AntSelectProps { locale?: SelectLocale; } type CompoundedComponent = React.ForwardRefExoticComponent & React.RefAttributes> & { Option: typeof Option; OptGroup: typeof OptGroup; _InternalPanelDoNotUseOrYouWillBeFired: typeof AntSelect._InternalPanelDoNotUseOrYouWillBeFired; }; declare const Select: CompoundedComponent; export default Select;