/** * Calendar Events Store * Manages event CRUD operations only * Uses manual persistence (no zustand persist middleware) */ import type { CalendarEvent, CreateCalendarEventRequest, UpdateCalendarEventRequest } from '../../domain/entities/CalendarEvent.entity'; interface CalendarEventsState { readonly events: CalendarEvent[]; readonly isLoading: boolean; readonly error: string | null; } interface CalendarEventsActions { readonly loadEvents: () => Promise; readonly addEvent: (request: CreateCalendarEventRequest) => Promise; readonly updateEvent: (request: UpdateCalendarEventRequest) => Promise; readonly deleteEvent: (id: string) => Promise; readonly completeEvent: (id: string) => Promise; readonly uncompleteEvent: (id: string) => Promise; readonly clearError: () => void; readonly clearAllEvents: () => Promise; } type CalendarEventsStore = CalendarEventsState & CalendarEventsActions; export declare const useCalendarEvents: import("zustand").UseBoundStore>; export {};