import { TemporalSupportedObject } from '@mui/x-scheduler-internals/models'; import { SchedulerState, SchedulerParameters, SchedulerStore } from '@mui/x-scheduler-internals/internals'; export declare class SchedulerLazyLoadingPlugin> { protected store: SchedulerStore; private dataManager; private cache; private isFetchScheduled; private pendingIsInstantLoad; private pendingComputeRange; /** * Range key of the most recently requested fetch. Used to skip stale fetches: * if a request resolves while a different range has been requested since, its * cache write + state update are dropped so the latest range's data isn't * polluted by stale, possibly-deleted events. */ private latestRequestedRangeKey; /** * Coalesces multiple calls within the same tick into one microtask. The latest * `computeRange` wins; `isInstantLoad=true` is sticky across coalesced calls. */ protected scheduleFetch: (computeRange: () => { start: TemporalSupportedObject; end: TemporalSupportedObject; }, isInstantLoad: boolean) => void; constructor(store: SchedulerStore); queueDataFetchForRange: (range: { start: TemporalSupportedObject; end: TemporalSupportedObject; }, immediate?: boolean) => Promise; /** * Loads events from the data source. */ private loadEventsFromDataSource; private handleEventsUpdated; }