import { Annotation, PresenceEvents, User } from '@annotorious/core'; import { PostgrestError } from '@supabase/supabase-js'; export interface SupabasePluginEvents extends PresenceEvents { initialLoad: (annotations: Annotation[]) => void; initialLoadError: (error: PostgrestError) => void; saveError: (message: PostgrestError) => void; integrityError: (message: string) => void; offPageActivity: (event: OffPageActivityEvent) => void; } export interface OffPageActivityEvent { source: string; user: User; } //# sourceMappingURL=SupabasePluginEvents.d.ts.map