import { Comment } from './comment.types'; import { Pin, Shape, ToolType } from './annotation.types'; /** detail of `sfx-comment-added`. */ export interface CommentAddedDetail { comment: Comment; } /** detail of `sfx-comment-resolved` / `sfx-comment-reopened`. */ export interface CommentStatusDetail { comment: Comment; } /** detail of `sfx-comment-deleted`. */ export interface CommentDeletedDetail { commentId: string; } /** detail of `sfx-pin-clicked`. */ export interface PinClickedDetail { pin: Pin; comment?: Comment; } /** detail of `sfx-shape-added`. */ export interface ShapeAddedDetail { shape: Shape; } /** detail of `sfx-tool-changed`. */ export interface ToolChangedDetail { tool: ToolType; } /** detail of `sfx-annotation-changed` — fired whenever annotations mutate. */ export interface AnnotationChangedDetail { pins: Pin[]; shapes: Shape[]; comments: Comment[]; } //# sourceMappingURL=event.types.d.ts.map