import React from 'react'; import { Option } from 'rc-select'; import { SizeType } from '../config-provider/SizeContext'; import type { SelectProps as AntdSelectProps } from 'antd/es/select/index'; import { SelectValue, RefSelectProps, InternalSelectProps, LabeledValue } from 'antd/es/select/index'; export type { OptionProps, RefSelectProps, BaseOptionType, DefaultOptionType } from 'antd/es/select'; export type { SelectValue, InternalSelectProps, LabeledValue }; export declare type OptionType = typeof Option; export interface SelectProps extends Omit, 'size'> { size?: SizeType | 'xs'; /**固定在搜索框左边的内容 */ inputPrefix?: React.ReactNode; /**固定在搜索框右边的内容 */ inputSuffix?: React.ReactNode; } declare const SelectRef: (props: SelectProps & { ref?: React.Ref; }) => React.ReactElement; declare const ConfiguredOption: import("rc-select/lib/Option").OptionFC; declare const ConfiguredOptGroup: import("rc-select/lib/OptGroup").OptionGroupFC; declare type InnerSelectType = typeof SelectRef; interface SelectInterface extends InnerSelectType { SECRET_COMBOBOX_MODE_DO_NOT_USE: string; Option: typeof ConfiguredOption; OptGroup: typeof ConfiguredOptGroup; } declare const ConfiguredSelect: SelectInterface; export { ConfiguredSelect as Select }; export default ConfiguredSelect;