import { SchedulerEventOccurrence, SchedulerProcessedDate } from "../models/index.js"; import { GetOccurrencesFromEventsParameters } from "../internals/utils/event-utils.js"; /** * Gets all the event occurrences for the given days. * For recurring events, it expands them to get all the occurrences that fall within the given days. * It should be called once per view to get the occurrences for all the visible days in one go. * The returned value is a Map where the key is the day key and the value is the list of occurrences for that day. */ export declare function useEventOccurrencesGroupedByDay(parameters: useEventOccurrencesGroupedByDay.Parameters): useEventOccurrencesGroupedByDay.ReturnValue; export declare namespace useEventOccurrencesGroupedByDay { interface Parameters { /** * The days to get the occurrences for. */ days: SchedulerProcessedDate[]; } type ReturnValue = Map; } /** * Do not use directly, use the `useEventOccurrencesGroupedByDay` hook instead. * This is only exported for testing purposes. */ export declare function innerGetEventOccurrencesGroupedByDay(parameters: Pick & { days: SchedulerProcessedDate[]; }): Map;