import type { ProductData, SalesSdkAddProductWithFlowResult, SalesSdkCartContextValue, SalesSdkUIHosts, ScanOrderTempOrder } from '../types';
export declare type RunAddProductFlowCartApi = Pick<SalesSdkCartContextValue, 'addProduct' | 'confirmDetail' | 'confirmBookingEdit'>;
export interface RunAddProductFlowOptions {
    type?: 'select' | 'detail';
    quantity?: number;
    note?: string;
    bookingConfig?: Record<string, any> | null;
    customerId?: number | string;
    tempOrder?: ScanOrderTempOrder | null;
    locale?: string;
}
/**
 * 加车编排：addProduct → 规格 → 跨日日期 → confirmDetail（内含 Holder+展开）→ 资源抽屉 → 加车。
 */
export declare function runAddProductFlow(cart: RunAddProductFlowCartApi, hosts: SalesSdkUIHosts | null | undefined, product: ProductData & Record<string, any>, options?: RunAddProductFlowOptions): Promise<SalesSdkAddProductWithFlowResult>;
