import type { Annotation, AnnotationStatus, CreateAnnotationInput, Session, SessionWithAnnotations, ThreadMessage } from './types.js'; declare class AnnotationStore { private sessions; private annotations; private watchListeners; private pendingBatch; private batchTimer; createSession(url?: string): Session; getSession(id: string): Session | undefined; getOrCreateSession(id?: string, url?: string): Session; listSessions(): Session[]; getSessionWithAnnotations(id: string): SessionWithAnnotations | undefined; updateSessionStatus(id: string, status: Session['status']): boolean; addAnnotation(input: CreateAnnotationInput): Annotation; getAnnotation(id: string): Annotation | undefined; getAnnotationsForSession(sessionId: string): Annotation[]; getPendingForSession(sessionId: string): Annotation[]; getAllPending(): Annotation[]; deleteAnnotation(id: string): boolean; updateStatus(id: string, status: AnnotationStatus, meta?: { summary?: string; reason?: string; }): boolean; addReply(annotationId: string, author: 'human' | 'agent', message: string): ThreadMessage | undefined; private notifyWatchers; waitForAnnotations(timeoutMs?: number, sessionId?: string): Promise; } export declare const store: AnnotationStore; export {}; //# sourceMappingURL=store.d.ts.map