import { HttpClient, NonNullablePaths, MaybeContext, BuildRESTFunction } from '@wix/sdk-types'; import { ListEventTimeSlotsOptions, ListEventTimeSlotsResponse, GetEventTimeSlotOptions, GetEventTimeSlotResponse } from './index.typings.js'; export { AvailableResources, BookingPolicyViolations, CursorPaging, CursorPagingMetadata, Cursors, CustomerChoices, EventInfo, GetAvailabilityTimeSlotRequest, GetAvailabilityTimeSlotRequestCustomerChoices, GetAvailabilityTimeSlotResponse, GetEventTimeSlotRequest, GetMultiServiceAvailabilityTimeSlotRequest, GetMultiServiceAvailabilityTimeSlotResponse, ListAvailabilityTimeSlotEndOptionsRequest, ListAvailabilityTimeSlotEndOptionsResponse, ListAvailabilityTimeSlotsRequest, ListAvailabilityTimeSlotsResponse, ListEventTimeSlotsRequest, ListMultiServiceAvailabilityTimeSlotsRequest, ListMultiServiceAvailabilityTimeSlotsResponse, Location, LocationType, LocationTypeWithLiterals, NestedTimeSlot, NonBookableReasons, Resource, ResourceType, Service, TimeSlot, V2CustomerChoices, WaitingList } from './index.typings.js'; declare function listEventTimeSlots$1(httpClient: HttpClient): ListEventTimeSlotsSignature; interface ListEventTimeSlotsSignature { /** * Retrieves a list of class session time slots that match the provided filters. * * ### Defaults * * List Event Time Slots uses the following defaults: * * - `providerId` set to the Bookings app ID. * - `timeZone` set to the business time zone. * - `cursorPaging.limit` set to `50`. * - Returns both bookable and non-bookable time slots. * * Time slots are always sorted by their `localStartDate` in ascending order. * * ### Service type limitations * * To retrieve appointment availability, call [List Availability Time Slots](https://dev.wix.com/docs/api-reference/business-solutions/bookings/time-slots/time-slots-v2/list-availability-time-slots). * * To retrieve course availability, follow the [End-to-End Booking Flow for courses](https://dev.wix.com/docs/api-reference/business-solutions/bookings/end-to-end-booking-flows#book-a-course). * * ### Booking policy filtering * * Use `bookingPolicyViolations` to filter slots based on booking restrictions defined in your [booking policies](https://dev.wix.com/docs/api-reference/business-solutions/bookings/policies/booking-policies/introduction). * * *Default behavior**: When you don't specify any `bookingPolicyViolations` filters, all slots are returned regardless of their booking policy status. * * - Set `tooEarlyToBook` to `true` to retrieve slots that can't be booked yet due to minimum advance booking time restrictions. * Currently, you can't specify `earliestBookingDate` to further filter by when the slot becomes bookable. * - Set `tooLateToBook` to `true` to retrieve slots that can no longer be booked due to maximum advance booking time restrictions. * - Set `bookOnlineDisabled` to `true` or `false` to filter by online booking availability settings. */ (options?: ListEventTimeSlotsOptions): Promise>; } declare function getEventTimeSlot$1(httpClient: HttpClient): GetEventTimeSlotSignature; interface GetEventTimeSlotSignature { /** * Retrieves detailed information about a specific class session time slot. * * * Call this method after selecting a suitable slot with List Event Time Slots to obtain its full capacity and booking-policy status. * * ### Service type limitations * * To retrieve appointment availability, call [Get Availability Time Slot](https://dev.wix.com/docs/api-reference/business-solutions/bookings/time-slots/time-slots-v2/get-availability-time-slot). * * To retrieve course availability, follow the [End-to-End Booking Flow for courses](https://dev.wix.com/docs/api-reference/business-solutions/bookings/end-to-end-booking-flows#book-a-course). * @param - Event ID. */ (eventId: string, options?: GetEventTimeSlotOptions): Promise>; } declare const listEventTimeSlots: MaybeContext & typeof listEventTimeSlots$1>; declare const getEventTimeSlot: MaybeContext & typeof getEventTimeSlot$1>; export { GetEventTimeSlotOptions, GetEventTimeSlotResponse, ListEventTimeSlotsOptions, ListEventTimeSlotsResponse, getEventTimeSlot, listEventTimeSlots };