export declare function captureMessageContextMenu(event: Pick, anchor?: HTMLElement): { left: number; top: number; selectedText: string | undefined; }; /** Capture before opening a focusable menu. Never consult the live selection * from a menu click, or reuse a selection belonging to another message/editor. */ export declare function captureMessageTextSelection(bubble: HTMLElement | undefined): string | undefined; //# sourceMappingURL=message-text-selection.d.ts.map