export type AnnotationIntent = 'fix' | 'change' | 'question' | 'approve'; export type AnnotationSeverity = 'blocking' | 'important' | 'suggestion'; export type AnnotationStatus = 'pending' | 'acknowledged' | 'resolved' | 'dismissed'; export type SessionStatus = 'active' | 'approved' | 'closed'; export interface ThreadMessage { id: string; author: 'human' | 'agent'; message: string; createdAt: number; } export interface Annotation { id: string; sessionId: string; comment: string; element: string; elementPath: string; svelteComponents?: string; boundingRect?: { x: number; y: number; width: number; height: number; }; intent: AnnotationIntent; severity: AnnotationSeverity; status: AnnotationStatus; createdAt: number; resolvedAt?: number; dismissReason?: string; resolveSummary?: string; replies: ThreadMessage[]; } export interface CreateAnnotationInput { sessionId?: string; comment: string; element: string; elementPath: string; svelteComponents?: string; boundingRect?: Annotation['boundingRect']; intent: AnnotationIntent; severity: AnnotationSeverity; url?: string; } export interface Session { id: string; url?: string; status: SessionStatus; createdAt: number; updatedAt: number; } export interface SessionWithAnnotations extends Session { annotations: Annotation[]; } //# sourceMappingURL=types.d.ts.map