/**
 * 从商品对象解析有效的 catalog product id。
 *
 * @example
 * const id = resolveCatalogProductId(product); // 60943 | null
 */
export declare function resolveCatalogProductId(product: Record<string, any> | null | undefined): number | null;
/**
 * 保证商品对象同时带有 `id` / `product_id`（赠品弹窗 / OS transform 依赖）。
 *
 * @example
 * const normalized = normalizeCatalogProduct({ product_id: 60943, title: 'Gift' });
 */
export declare function normalizeCatalogProduct(product: Record<string, any>): Record<string, any>;
