import type { AnyObject } from "../_util/type"; import type { Dayjs } from 'dayjs'; import type { GenerateConfig } from '../date-picker/interface'; import type { AllDayEventType, CalendarLocale, EventType, TimeEventType } from './interface'; export declare const FORMAT_LIST: string[]; export declare function getDateKey(date: DateType, generateConfig: GenerateConfig): string; /** * 计算事件在TimeGrid中显示位置信息 * - 事件开始时间相差小于20min,则采用多列显示 * @param events * @returns */ export declare function calcTimeEventsLayout(events: Record[]>): Record[]>; /** * Calculate events index * - all-day event 优先级高于 time event * - 同一周内duration越长,越靠前 * - time event 按开始时间排序 */ export declare function calcEventsIndex(allDayEventRecord: Record[]>, timeEventRecord: Record[]>, generateConfig: GenerateConfig, locale: CalendarLocale): (Record[]> | Record[]>)[]; /** * Group events by date */ export declare function groupEventsByDate(events: EventType[], generateConfig: GenerateConfig, locale: CalendarLocale, ignoreTimeLayout?: boolean): [Record[]>, Record[]>];