import { ExtractPropTypes, PropType } from 'vue'; export declare const InputNumberControlTypes: readonly ["both", "right", "left", "none"]; export type InputNumberControlT = (typeof InputNumberControlTypes)[number]; export declare const inputNumberProps: { /** * 下拉框的值 * v-model */ modelValue: { type: NumberConstructor; }; /** * 下拉框的默认值 * 非受控 */ defaultValue: { type: NumberConstructor; }; /** * 按钮点击时步长 */ step: { type: NumberConstructor; default: number; }; /** * 最小值 */ min: { type: NumberConstructor; }; /** * 最大值 */ max: { type: NumberConstructor; }; /** * 控制按钮位置 InputNumberControlT */ controls: { type: PropType; default: string; }; /** * 是否可以清除 */ clearable: { type: BooleanConstructor; default: boolean; }; /** * 大小 SizeT */ size: { type: PropType; }; /** * 圆角值 RoundT */ round: { type: PropType; }; /** * 颜色类型 Color2T */ color: { type: PropType; default: string; }; /** * 按钮类型 VariantT */ variant: { type: PropType; default: string; }; /** * 提示文本 */ placeholder: { type: StringConstructor; }; /** * 是否禁用 */ disabled: { type: BooleanConstructor; }; /** * 是否只读 */ readonly: { type: BooleanConstructor; }; /** * 是否自动增加宽度 */ autoWidth: { type: BooleanConstructor; }; /** * 对值格式化,控制显示格式 */ format: { type: PropType<(value: string) => string>; }; /** * 无效值判断 */ validate: { type: PropType<(value: number) => boolean>; }; /** * input id */ inputId: { type: StringConstructor; }; /** * 当输入为空字符串时,默认值 */ clearValue: { type: NumberConstructor; }; }; export type InputNumberPropsT = ExtractPropTypes;