import type { BaseSalesScanCodeResult } from '../salesSdk';
export declare type DiscountFilterRejectKey = 'total_credits' | 'per_user_limit' | 'max_per_day' | 'max_per_week' | 'max_per_month';
export declare type DiscountScanScene = 'goodpass' | 'voucher';
export interface DiscountScanFailResult extends BaseSalesScanCodeResult {
    unavailableReasonKey?: DiscountFilterRejectKey | null;
}
export declare function getLocalizedDateFormat(): "YYYY/MM/DD" | "DD/MM/YYYY";
export declare function getLocalizedDateTimeFormat(): string;
export declare function formatLocalizedDateTime(value?: string | number | Date | null, emptyText?: string): string;
/**
 * 统一处理扫码失败的多语言提示文案。
 *
 * @param val 扫码接口返回结果
 * @param scene 使用场景，决定默认兜底文案
 * @returns 当前语言下的失败提示文案
 */
export declare function showDiscountScanFailMessage(val: DiscountScanFailResult | null | undefined, scene?: DiscountScanScene): any;
