/**
* BookingItem - Components for displaying booking item details
* Must be used within Booking.BookingItemRepeater context
*/
import React from 'react';
import { type AsChildChildren } from '@wix/headless-utils/react';
export declare const TestIds: {
readonly bookingItemService: "booking-item-service";
readonly bookingItemTimeSlot: "booking-item-time-slot";
readonly bookingItemStaffName: "booking-item-staff-name";
};
export interface ServiceProps {
children: React.ReactNode;
}
/**
* Wraps Service.Root with the service from the current booking item context.
* Must be used within Booking.BookingItemRepeater.
*
* @component
* @example
* ```tsx
*
*
*
*
* ```
*/
export declare function Service(props: ServiceProps): React.ReactNode;
export declare namespace Service {
var displayName: string;
}
export interface TimeSlotProps {
children: React.ReactNode;
}
/**
* Wraps TimeSlot.Root with the timeSlot from the current booking item context.
* Must be used within Booking.BookingItemRepeater.
*
* @component
* @example
* ```tsx
*
*
*
*
* ```
*/
export declare function TimeSlot(props: TimeSlotProps): React.ReactNode;
export declare namespace TimeSlot {
var displayName: string;
}
export interface StaffNameProps extends Omit, 'children'> {
asChild?: boolean;
children?: AsChildChildren<{
name: string;
}>;
/** Label to display when no specific staff member is assigned */
anyStaffLabel?: string;
}
/**
* Displays the staff member's name from the current booking item.
* Must be used within Booking.BookingItemRepeater.
*
* @component
* @example
* ```tsx
*
* ```
*/
export declare const StaffName: React.ForwardRefExoticComponent>;