declare global {
    interface Window {
        /** 赠品弹窗调试日志，可在控制台 `copy(window.__GIFT_SELECT_DEBUG__)` 复制 */
        __GIFT_SELECT_DEBUG__?: GiftSelectDebugEntry[];
    }
}
export interface GiftSelectDebugEntry {
    /** 毫秒时间戳 */
    ts: number;
    /** 阶段标识 */
    stage: string;
    /** 附加数据（会自动浅拷贝） */
    payload?: unknown;
}
/**
 * 向 window.__GIFT_SELECT_DEBUG__ 追加一条调试日志。
 *
 * @example
 * pushGiftSelectDebug('openGiftSkuDetail:start', { productId: 123, title: product.title });
 * // 控制台复制：copy(window.__GIFT_SELECT_DEBUG__)
 */
export declare function pushGiftSelectDebug(stage: string, payload?: unknown): void;
/**
 * 清空赠品弹窗调试日志。
 *
 * @example
 * clearGiftSelectDebug();
 */
export declare function clearGiftSelectDebug(): void;
/** 提取调试关心的展示字段，避免日志过大 */
export declare function pickGiftProductSnapshot(item: Record<string, any> | null | undefined): {
    id: any;
    product_id: any;
    title: any;
    name: any;
    num: any;
    price: any;
    cover: any;
    image: any;
    is_eject: any;
    extension_type: any;
    quantity: any;
    extendPrice: any;
    extendTotal: any;
    skuValue: any;
} | null;
