import * as React from 'react'; interface DigitRangeProps { /**是否可编辑 */ editable?: boolean; /**输入框内容 */ value?: Array; /**输入框内容变化时的回调 */ onChange?: Function; /**数字格式,格式写法请参照numeraljs。默认显示千分位,最多显示10位小数。当设置了precision时,默认按照precision显示小数位数 */ format?: string; /**精度 */ precision?: number; /**设置前置标签 */ addonBefore?: string | React.ReactNode; /**设置后置标签 */ addonAfter?: string | React.ReactNode; } interface DigitRangeState {} declare class DigitRange extends React.Component { state: DigitRangeState; componentDidMount(): void; componentDidUpdate(prevProps: DigitRangeProps): void; componentWillUnmount(): void; render: () => React.ReactElement; } export default DigitRange;