import { ComputedRef } from 'vue'; import { InputNumberValue, TdInputNumberProps } from '../type'; export default function useInputNumber(props: TdInputNumberProps): { classPrefix: ComputedRef; wrapClasses: ComputedRef<(string | { [x: string]: boolean | "normal" | "row" | "column"; })[]>; reduceClasses: ComputedRef<(string | { [x: string]: boolean; })[]>; addClasses: ComputedRef<(string | { [x: string]: boolean; })[]>; tDisabled: ComputedRef; isError: import("vue").Ref<"exceed-maximum" | "below-minimum">; listeners: { onBlur: (value: string, ctx: { e: FocusEvent; }) => void; onFocus: (value: string, ctx: { e: FocusEvent; }) => void; onKeydown: (value: string, ctx: { e: KeyboardEvent; }) => void; onKeyup: (value: string, ctx: { e: KeyboardEvent; }) => void; onKeypress: (value: string, ctx: { e: KeyboardEvent; }) => void; onEnter: (value: string, ctx: { e: KeyboardEvent; }) => void; onClick: () => void; }; userInput: import("vue").Ref; tValue: import("vue").Ref; inputRef: import("vue").Ref; focus: () => void; blur: () => void; handleReduce: (e: KeyboardEvent | MouseEvent) => void; handleAdd: (e: KeyboardEvent | MouseEvent) => void; onInnerInputChange: (value: string, context?: { e?: InputEvent | MouseEvent | CompositionEvent; trigger: "input" | "initial" | "clear"; }) => void; isReadonly: ComputedRef; };