import { AnyDateValue, DateStringValue, DayOfWeek, ScheduleEventData, WeekPositionedEventData } from '../../../types'; export interface GetWeekPositionedEventsInput { /** Date (week start) at which events are positioned, used to check if events are all-day */ date: AnyDateValue; /** List of all events that belong to the given week, extra events must be filtered out before passing to the function */ events: ScheduleEventData[]; /** Start time of the week view, used to calculate event positions */ startTime?: string; /** End time of the week view, used to calculate event positions */ endTime?: string; /** Number of minutes per time slot, used to align the canvas to whole slots */ intervalMinutes?: number; /** First day of the week, 0 - Sunday, 1 - Monday, etc., used to calculate events positions */ firstDayOfWeek?: DayOfWeek; /** Indices of weekend days, 0-6, where 0 is Sunday and 6 is Saturday */ weekendDays?: DayOfWeek[]; /** If set to false, weekend days are hidden @default true */ withWeekendDays?: boolean; } /** Events grouped by week day date (YYYY-MM-DD 00:00:00) and by columns */ export interface GroupedWeekEvents { allDayEvents: WeekPositionedEventData[]; regularEvents: Record; backgroundEvents: Record; } export declare function getWeekPositionedEvents({ date, events, startTime, endTime, intervalMinutes, firstDayOfWeek, weekendDays, withWeekendDays, }: GetWeekPositionedEventsInput): GroupedWeekEvents;