/** * Keeps a Popover-API element anchored to its trigger, and reports back when the trigger has been * removed from the DOM (e.g. AG Grid row virtualization recycling the row that owns it). * @remarks Checks the trigger once per animation frame while started, and repositions only when * the trigger or the viewport moved. Events alone miss moves: native `scroll` events don't cross * shadow-DOM boundaries, and a grid re-sort moves a row by `transform`, which fires nothing on the * rows that didn't change. Callers start it when the popover opens and stop it when it closes. * @internal */ export declare class AnchoredPopoverPositionTracker { private readonly anchor; private readonly onReposition; private readonly onAnchorDetached; private view?; private frame?; private lastPosition?; private readonly check; constructor(anchor: HTMLElement, onReposition: () => void, onAnchorDetached: () => void); start(): void; stop(): void; } //# sourceMappingURL=popover-position.d.ts.map