import { EventCalendarPreferences, CalendarView, EventCalendarViewConfig, TemporalSupportedObject, EventCalendarPreferencesMenuConfig } from "../models/index.js"; import { Adapter } from "../use-adapter/useAdapter.types.js"; import { SchedulerStore, SchedulerInstanceName } from "../internals/utils/SchedulerStore/index.js"; import { SchedulerRecurringEventsPluginInterface } from "../internals/plugins/SchedulerRecurringEventsPlugin.types.js"; import type { EventCalendarState, EventCalendarParameters } from "./EventCalendarStore.types.js"; export declare const DEFAULT_VIEWS: CalendarView[]; export declare const DEFAULT_VIEW: CalendarView; export declare const DEFAULT_SHOULD_EVENT_REQUIRE_RESOURCE = false; export declare const DEFAULT_EVENT_CALENDAR_PREFERENCES: EventCalendarPreferences; export declare const DEFAULT_PREFERENCES_MENU_CONFIG: EventCalendarPreferencesMenuConfig; /** * Base class that can be extended by premium stores. * Accepts instanceName as a parameter to allow subclasses to provide their own instance name. */ export declare class ExtendableEventCalendarStore extends SchedulerStore> { constructor(parameters: EventCalendarParameters, adapter: Adapter, instanceName: SchedulerInstanceName, recurringEventsPlugin?: SchedulerRecurringEventsPluginInterface | null); private assertViewValidity; private setVisibleDateAndView; private setSiblingVisibleDate; /** * Sets the view of the calendar. */ setView: (view: CalendarView, event: Event) => void; /** * Goes to the previous visible date span based on the current view. */ goToPreviousVisibleDate: (event: React.UIEvent) => void; /** * Goes to the next visible date span based on the current view. */ goToNextVisibleDate: (event: React.UIEvent) => void; /** * Goes to a specific day and set the view to 'day'. */ switchToDay: (visibleDate: TemporalSupportedObject, event: React.UIEvent) => void; /** * Updates some preferences of the calendar. */ setPreferences: (partialPreferences: Partial, event: Event) => void; /** * Sets the method used to determine the previous / next visible date. * Returns the cleanup function. */ setViewConfig: (config: EventCalendarViewConfig) => () => void; buildPublicAPI(): { setVisibleDate: ({ visibleDate, event }: { visibleDate: TemporalSupportedObject; event?: React.UIEvent | null; }) => void; }; } /** * Store for the EventCalendar component. */ export declare class EventCalendarStore extends ExtendableEventCalendarStore { constructor(parameters: EventCalendarParameters, adapter: Adapter); }