import { ICalendarEvent } from '../types/CalendarTypes'; import { IEventRepository, UpdateSource } from './IEventRepository'; /** * MockEventRepository - Loads event data from local JSON file (LEGACY) * * This repository implementation fetches mock event data from a static JSON file. * DEPRECATED: Use IndexedDBEventRepository for offline-first functionality. * * Data Source: data/mock-events.json * * NOTE: Create/Update/Delete operations are not supported - throws errors. * This is intentional to encourage migration to IndexedDBEventRepository. */ export declare class MockEventRepository implements IEventRepository { private readonly dataUrl; loadEvents(): Promise; /** * NOT SUPPORTED - MockEventRepository is read-only * Use IndexedDBEventRepository instead */ createEvent(event: Omit, source?: UpdateSource): Promise; /** * NOT SUPPORTED - MockEventRepository is read-only * Use IndexedDBEventRepository instead */ updateEvent(id: string, updates: Partial, source?: UpdateSource): Promise; /** * NOT SUPPORTED - MockEventRepository is read-only * Use IndexedDBEventRepository instead */ deleteEvent(id: string, source?: UpdateSource): Promise; private processCalendarData; }