/** * Creates the booking(s) needed for cart construction. * * Branches on the service selection: * - DAY-range path with 1 picked slot -> `bulkCreateBooking` * - DAY-range path with 2..8 picked slots -> `createMultiServiceBooking` * - default path -> `createBooking` * * All branches return the same shape so `executeBookAction` can stay * branchless from cart-creation onwards. Cart construction reads each * single-service booking ID — per SDK guidance, never the * `multiServiceBooking._id`. */ import type { ContactDetails } from '@wix/auto_sdk_bookings_bookings'; import type { BookActionParams } from './types.js'; export interface CreatedBookings { /** One ID per single-service booking. >=1 on success. */ bookingIds: string[]; /** Canonical contact details echoed by the server (read from the first booking). */ contactDetails?: ContactDetails; } export declare function createBookingsForCart(params: BookActionParams): Promise;