import type { TimelineAnnotationSource } from "@opengeni/sdk"; import { type RefObject } from "react"; import { type TimelineAnnotationLike } from "./timeline-annotation-chrome.js"; export declare function TimelineAnnotationsDialog({ annotations, editable, focusAnnotationId, onFocusConsumed, onUpdate, onRemove, onRevealSource, triggerRef, countLabel, onDismiss, onCommit, }: { annotations: readonly TimelineAnnotationLike[]; editable: boolean; focusAnnotationId?: string | null | undefined; onFocusConsumed?: (() => void) | undefined; onUpdate?: ((id: string, note: string) => void) | undefined; onRemove?: ((id: string) => void) | undefined; onRevealSource?: ((source: TimelineAnnotationSource) => boolean) | undefined; triggerRef: RefObject; countLabel: string; onDismiss: (restoreFocus: boolean) => void; onCommit: () => void; }): import("react").ReactPortal | null; export default TimelineAnnotationsDialog;