import * as React from 'react'; interface SingleSelectionProps { /**是否可编辑 */ editable?: boolean; /**输入框内容 */ value?: string; /**选择变化时的回调 */ onChange?: Function; /**选项key,使用enumeration进行全局设置 */ optionKey?: string; /**选项 */ options?: Array; /**添加空白选项 */ addBlankOption?: boolean; /**显示类型,可显示为下拉框,单选框,单选按钮 */ type?: 'dropdown' | 'radio' | 'group'; /**显示类型,可显示为下拉框,单选框,单选按钮 */ valueType?: Object | Array; /**label对应的选项属性 */ labelPropName?: string; /**可搜索,仅在type为dropdown时可用 */ showSearch?: string; } interface SingleSelectionState {} declare class SingleSelection extends React.Component { state: SingleSelectionState; componentDidMount(): void; componentDidUpdate(prevProps: SingleSelectionProps): void; componentWillUnmount(): void; render: () => React.ReactElement; } export default SingleSelection;