import { GetReferenceClientRect } from 'tippy.js'; import { Dialog, Editor, SelectionState, PopoverDialogOptions } from "../interface"; import EditorPopover from "./Popover"; import '../static/css/dialog.css'; export default class PopoverDialog extends Dialog { _contentContainer: HTMLElement; _placementCenterContainer?: HTMLElement; _selectionState: SelectionState | null; _compositionEndTime: number; editor: Editor; options: PopoverDialogOptions; popover: EditorPopover; getReferenceClientRect: GetReferenceClientRect; constructor(editor: Editor, options: PopoverDialogOptions); unbindKeydown: () => void; bindKeydown: () => void; destroy(): void; handleWheel: (event: Event) => void; handleScroll: () => void; handleKeydown: (event: KeyboardEvent) => void; handleCompositionEnd: () => void; hide: (forcedToHide?: boolean | undefined) => void; handleHidden(): void; handleShown(): void; isVisible(): boolean; restoreSelectionState(): boolean; show(): void; }