import { AnyDateValue, DateStringValue, DayOfWeek, MonthPositionedEventData, ScheduleEventData } from '../../../types'; interface GetMonthPositionedEventsInput { /** Date (month start) at which events are positioned */ date: AnyDateValue; /** List of all events that belong to the given month, extra events must be filtered out before passing to the function */ events: ScheduleEventData[]; /** First day of the week, 0 - Sunday, 1 - Monday, etc., used to calculate events positions */ firstDayOfWeek?: DayOfWeek; /** Range of dates for which events should be displayed (includes outside days if withOutsideDays is true) */ range?: { start: DateStringValue; end: DateStringValue; }; } /** Events grouped by week index and by day */ export interface GroupedMonthEvents { /** Events grouped by week index (index within month) */ groupedByWeek: { [weekIndex: string]: MonthPositionedEventData[]; }; /** Events grouped by day (YYYY-MM-DD format) */ groupedByDay: { [date: string]: MonthPositionedEventData[]; }; /** Background events grouped by week index */ backgroundByWeek: { [weekIndex: string]: MonthPositionedEventData[]; }; } export declare function getMonthPositionedEvents({ date, events, firstDayOfWeek, range, }: GetMonthPositionedEventsInput): GroupedMonthEvents; export {};