/** * @file 周视图 */ import React from 'react'; import { Moment } from '@/moment'; import { CalendarEvent, CalendarProps, SelectableTime, TimeSelection, WeekViewCalendarRef } from '../types'; export declare const WeekViewCalendar: React.ForwardRefExoticComponent<{ events: CalendarEvent[]; hideDates: boolean; getEventColorScheme: NonNullable; getEventPopoverProps: CalendarProps['getEventPopoverProps']; startHour: number; endHour: number; date: Moment; now: Moment; hourHeight: number; canSelectEventAsTime: NonNullable; canSelectTime: boolean; canSelectPastTime: NonNullable; pastTimeOffset: NonNullable; pastTimeDisabledHint: CalendarProps['pastTimeDisabledHint']; selectableTime?: SelectableTime | undefined; notSelectableTimeHint: CalendarProps['notSelectableTimeHint']; shouldEventBlock: CalendarProps['shouldEventBlock']; onTimeSelectionsChange?: ((selections: TimeSelection[]) => void) | undefined; } & React.RefAttributes>;