export declare type DiscountKeyboardUpdateMode = 'priceOverride' | 'discount';
export declare type DiscountKeyboardDiscountMode = 'amount' | 'percentage';
export interface DiscountKeyboardValueState {
    updateMode: DiscountKeyboardUpdateMode;
    discountMode: DiscountKeyboardDiscountMode;
    value: string;
}
export interface DiscountKeyboardBaseProps {
    /** 金额符 */
    amountSymbol?: string;
    /** 初始值，多用于展示及计算，不同于原始值 */
    defaultValue?: string | number;
    /** 原始值，多用于重置 */
    originalValue?: string | number;
    placeholder?: string;
    doneText?: string;
    resetText?: string;
    /** 键盘主题 */
    selectType?: 'light' | 'dark';
    onEnter?: (val: string, state: DiscountKeyboardValueState) => void;
    onReset?: () => void;
    onChange?: (val: string) => void;
    /** 恢复键盘上一次的一口价/折扣输入状态 */
    valueState?: DiscountKeyboardValueState;
    /** 输入状态变化，用于上层持久化 */
    onValueStateChange?: (state: DiscountKeyboardValueState) => void;
    enableExceedMaxAmount?: boolean;
}
