import type { BookingTicketHandle, ScanOrderTempOrder } from '../types';
export interface PrepareCacheItemForCartBookingEditDrawerInput {
    cacheItem: any;
    bookingTicket: BookingTicketHandle;
    tempOrder: ScanOrderTempOrder | null;
    /** catalog 商品，用于跨日判定回退 */
    sourceProduct?: Record<string, any> | null;
    date?: string | null;
}
/**
 * 购物车「编辑资源」打开抽屉前：跨日商品展开 `_extend.items`，供 Edit / List Tab 展示。
 *
 * 对齐 ticketBooking `processManualEditService` → `getMultiDayCacheItem(cacheItem, true)`；
 * 写回仍由调用方 `transformDetailToProductAndBooking`，不在此函数内处理。
 *
 * @example
 * ```ts
 * let cacheItem = bookingTicket.buildCacheItemFromOrderLine({ product, booking, sourceProduct });
 * cacheItem = await prepareCacheItemForCartBookingEditDrawer({
 *   cacheItem,
 *   bookingTicket,
 *   tempOrder,
 *   sourceProduct,
 *   date: '2026-05-01',
 * });
 * await openBookingEdit({ cacheItem, forceOpen: true });
 * ```
 */
export declare function prepareCacheItemForCartBookingEditDrawer(input: PrepareCacheItemForCartBookingEditDrawerInput): Promise<any>;
