import type { TemporalTimezone } from "../../base-ui-copy/types/temporal.js"; import type { TemporalSupportedObject, SchedulerProcessedEvent, SchedulerProcessedDate, SchedulerEventOccurrence, SchedulerEventId, SchedulerResourceId } from "../../models/index.js"; import type { SchedulerRecurringEventsPluginInterface } from "../plugins/SchedulerRecurringEventsPlugin.types.js"; import type { Adapter } from "../../use-adapter/useAdapter.types.js"; export declare function generateOccurrenceFromEvent({ event, eventId, occurrenceKey, start, end }: { event: SchedulerProcessedEvent; eventId: SchedulerEventId; occurrenceKey: string; start: SchedulerProcessedDate; end: SchedulerProcessedDate; }): SchedulerEventOccurrence; /** * Returns the key of the days an event occurrence should be visible on. */ export declare function getDaysTheOccurrenceIsVisibleOn(event: SchedulerEventOccurrence, days: SchedulerProcessedDate[], adapter: Adapter): string[]; /** * Returns the occurrences to render in the given date range, expanding recurring events. */ export declare function getOccurrencesFromEvents(parameters: GetOccurrencesFromEventsParameters): SchedulerEventOccurrence[]; /** * Returns the resource IDs for the given resource, or an empty array if the resource is null or undefined. */ export declare function getEventResourceIds(resource: SchedulerResourceId | SchedulerResourceId[] | null | undefined): SchedulerResourceId[]; /** * Returns the primary resource ID for the given resource, or null if the resource is null or undefined. */ export declare function getPrimaryResourceId(resource: SchedulerResourceId | SchedulerResourceId[] | null | undefined): SchedulerResourceId | null; export interface GetOccurrencesFromEventsParameters { adapter: Adapter; start: TemporalSupportedObject; end: TemporalSupportedObject; events: SchedulerProcessedEvent[]; visibleResources: Record; displayTimezone: TemporalTimezone; recurringEventsPlugin: SchedulerRecurringEventsPluginInterface | null; }