import React from 'react'; import type { ActionObject, Option } from 'jamis-core'; import type { FormControlProps, NumberControlProps } from '../types'; interface NumberState { unit?: string; unitOptions?: Option[]; isFocused?: boolean; } declare class NumberControl extends React.Component { static defaultProps: Partial; input?: HTMLInputElement; constructor(props: NumberControlProps); /** * 动作处理 */ doAction(action: ActionObject, args: any): void; getUnit(): any; getValue(inputValue: any): any; dispatchEvent(eventName: string): Promise; handleChange(inputValue: any): Promise; filterNum(value: number | string | undefined): number | undefined; handleChangeUnit(option: Option): void; componentDidUpdate(prevProps: NumberControlProps): void; inputRef(ref: any): void; focus(): void; handleFocus: () => void; handleBlur: () => void; render(): JSX.Element; } export declare class NumberControlRenderer extends NumberControl { static defaultProps: Partial; } export {};