export declare class PositioningService {
    private static readonly DOORHANGER_OFFSET;
    private static readonly TOOLBAR_MARGIN;
    private static readonly POPUP_PAIRS;
    /** #3306 with several viewers on one page, popups and buttons are looked up in this viewer only */
    private root;
    /** #3306 a positioning service for the viewer the element belongs to */
    static forViewer(element: Element | null | undefined): PositioningService;
    private get scope();
    positionPopupBelowItsButton(buttonId: string, popupId: string): void;
    /**
     * Re-positions all currently open/visible popups. Call this when the
     * toolbar layout changes (e.g., mobileFriendlyZoom changes at runtime).
     */
    repositionOpenPopups(): void;
    private findVisibleButton;
    private getPopupElement;
    private applyPopupPositioning;
    private setBasicPopupStyles;
    private setHorizontalPosition;
    private setVerticalPosition;
}
