import type { SmartDocument, StructuralSuggestion } from "smartrte-core/foundation"; export interface SuggestionPanelProps { open: boolean; onClose: () => void; document: SmartDocument; structuralSuggestions: readonly StructuralSuggestion[]; activeId: string | null; onSelect: (id: string) => void; /** Set when "Suggest insertion" was just clicked at a real caret position - renders a compose box for the proposed text. */ pendingInsert: boolean; onSubmitInsert: (text: string) => void; onAcceptInline: (id: string) => void; onRejectInline: (id: string) => void; onAcceptStructural: (suggestion: StructuralSuggestion) => void; onRejectStructural: (suggestion: StructuralSuggestion) => void; busyId: string | null; } /** * Docked side panel listing every pending suggestion - both inline * (discovered fresh each render via listInlineSuggestions, since those * live as marks inside `document` itself, not a separate list the way * comments/versions do) and structural (an explicit prop, since those are * an out-of-band record like CommentThread). Non-modal, same reasoning as * CommentThreadPanel: reviewing shouldn't block continuing to edit nearby. */ export declare function SuggestionPanel(props: SuggestionPanelProps): import("react/jsx-runtime").JSX.Element;