import type { AnnotationRange, CommentThread } from "smartrte-core/foundation"; export interface CommentThreadPanelProps { open: boolean; onClose: () => void; threads: readonly CommentThread[]; activeThreadId: string | null; onSelectThread: (id: string) => void; /** Set when "Add comment" was just clicked against a valid, non-collapsed selection - renders a compose box for a brand-new thread. */ pendingRange: AnnotationRange | null; onCreateThread: (text: string) => void; onReply: (threadId: string, text: string) => void; onResolve: (threadId: string, resolved: boolean) => void; onDelete: (threadId: string) => void; busyThreadId: string | null; } /** * Docked side panel, not a blocking modal like `VersionHistoryPanel`/ * `MediaManager` - a comment thread is meant to be read and replied to * while continuing to edit nearby, not a full-attention dialog. Threads * whose range no longer resolves aren't distinguished here with a special * flag (per `CommentThread`'s own doc comment, "orphaned" is derived, not * stored) - a host wanting to visually flag them can cross-reference * `CommentMarkers`' own resolution, which already only renders markers for * threads that still resolve. */ export declare function CommentThreadPanel(props: CommentThreadPanelProps): import("react/jsx-runtime").JSX.Element;