import type { Editor } from '@tiptap/core'; import type { WorkEditorAgentRequest } from '../work-agent-request'; import { type WorkDocumentSelectionMenuItem, type WorkDocumentSelectionSnapshot } from '../work-document-selection-menu'; export type DocumentSelectionMenuState = { kind: 'agent'; x: number; y: number; snapshot: WorkDocumentSelectionSnapshot; } | { kind: 'custom'; x: number; y: number; snapshot: WorkDocumentSelectionSnapshot; items: readonly WorkDocumentSelectionMenuItem[]; }; export declare function DocumentSelectionContextMenu({ editor, menu, getTrackChanges, onAgentRequest, onClose, }: { editor: Editor; menu: DocumentSelectionMenuState; getTrackChanges: () => boolean; onAgentRequest?: (request: WorkEditorAgentRequest) => void | Promise; onClose: () => void; }): import("react").JSX.Element | null;