import { Ref } from 'vue'; import { RuntimeDocument } from '../core/types/index.js'; type CompactComment = { commentId?: unknown; importedId?: unknown; selection?: { source?: unknown; } | null; }; type CompactSelectionPosition = { top?: unknown; bottom?: unknown; source?: unknown; }; type CommentPositionLookup = (commentOrId: unknown) => { entry: { bounds?: { top?: unknown; bottom?: unknown; } | null; } | null; }; type PopoverStyle = { top: string; left?: string; right: string; }; interface UseCompactCommentPopoverOptions { activeComment: Readonly>; pendingComment: Readonly>; activeCompactComment: Readonly>; showCommentsSidebar: Readonly>; selectionPosition: Readonly>; activeZoom: Readonly>; superdocRoot: Readonly>; layers: Readonly>; documents: Readonly[] | null | undefined>>; resolveCommentPositionEntry: CommentPositionLookup; clearActiveComment: () => void; clearPendingComment: () => void; } export declare function useCompactCommentPopover({ activeComment, pendingComment, activeCompactComment, showCommentsSidebar, selectionPosition, activeZoom, superdocRoot, layers, documents, resolveCommentPositionEntry, clearActiveComment, clearPendingComment, }: UseCompactCommentPopoverOptions): { compactCommentPopoverStyle: import('vue').ComputedRef; closeCompactCommentPopover: () => void; resetClickAnchor: () => void; }; export {};