export interface SelectedSkuDisplayItem { key: string; type: 'variant' | 'option' | 'bundle' | 'bundleOption'; label: string; meta?: string; children?: SelectedSkuDisplayItem[]; } export declare const checkSkuStockCanSell: (sku: any) => { canSell: boolean; hasStock: boolean; }; export declare const checkProductStock: (params?: { value?: any; data?: any; }) => boolean; /** * @description 将已选 SKU 信息格式化为可展示的多行文本 */ export declare const formatSelectedSkuMessage: (skuValue?: { product_option_string?: string; option?: Array; options?: Array; bundle?: Array; }, currencySymbol?: string) => string; /** * @description 将已选 SKU 信息格式化为结构化列表,便于逐项渲染样式 */ export declare const formatSelectedSkuItems: (skuValue?: { product_option_string?: string; option?: Array; options?: Array; bundle?: Array; }, currencySymbol?: string) => SelectedSkuDisplayItem[]; export declare const getStockValidationResult: (params: { value?: any; data?: any; bookingConfig?: any; }) => { stockValidation: number; allowAddToCartWhenOutStock: number; enableDontShowAgainToday: number; productId: number; hasStock: boolean; shouldBlock: boolean; shouldShowAlert: boolean; }; export declare function getLocalDayKey(): string; export declare function getStockAlertStorageKey(params: { productId: number; }): string; export declare function hasHiddenStockAlertForToday(params: { productId: number; }): boolean; export declare function setHiddenStockAlertForToday(params: { productId: number; }): void;