import React from 'react'; import './index.less'; import { SizeType } from 'antd/lib/config-provider/SizeContext'; declare type OptionItem = { key: string; label?: string; type?: string; unit?: string; defaultValue?: any; format?: RegExp; }; export interface SelectInputProps { onChange: (val: any) => void; value: any; optionsMap?: Record; handleOnChangeMode?: (mode: OptionItem) => any; size?: SizeType; defaultMode?: string; disabled?: boolean; } declare const SelectInput: React.FC; export default SelectInput;