import type { Dispatch, SetStateAction } from 'react'; import { type CalendarBookingSegmentInput } from '../../utils/bookingCalendarDateUtils'; import type { FreeSlotSelection } from '../../bookingCalendarInternalTypes'; export declare function useBookingCalendarDaySelection(dayKey: string, bookings: CalendarBookingSegmentInput[], hourSlots: number[], slotStepHours: number, courts: Array<{ id: string; name?: string; }>, selectedFreeSlots: FreeSlotSelection[], selectedBlockSlots: FreeSlotSelection[], setSelectedFreeSlots: Dispatch>, setSelectedBlockSlots: Dispatch>): { isFreeSelected: (courtId: string, hour: number) => boolean; isBlockSelected: (courtId: string, hour: number) => boolean; toggleSlot: (courtId: string, hour: number) => void; };