import { ScheduleEventData, ScheduleResourceData } from '../../../types'; import { ResourcesDayViewEventsResult } from '../../ResourcesDayView/get-resources-day-view-events/get-resources-day-view-events'; /** A single all-day bar (single-day all-day event or a multi-day event) spanning one or more * consecutive visible weekdays, placed on a shared row so overlapping bars do not collide. */ export interface ResourcesWeekViewAllDayBar { /** The original event, with its declared start/end preserved for display and interaction */ event: ScheduleEventData; /** Index of the first visible weekday the bar covers */ startDayIndex: number; /** Index of the last visible weekday the bar covers */ endDayIndex: number; /** Row within the all-day band, assigned so overlapping bars stack instead of overlapping */ row: number; } export interface ResourcesWeekViewEventsResult { byDay: Record; /** All-day bars per resource, each spanning the days it covers as a single continuous bar */ allDayBars: Record; } interface GetResourcesWeekViewEventsInput { events: ScheduleEventData[] | undefined; resources: ScheduleResourceData[]; weekdays: string[]; startTime?: string; endTime?: string; expansionLimit?: number; } export declare function getResourcesWeekViewEvents({ events, resources, weekdays, startTime, endTime, expansionLimit, }: GetResourcesWeekViewEventsInput): ResourcesWeekViewEventsResult; export {};