import { ConnectedPosition } from "@angular/cdk/overlay";
import { PopoverOverlayPosition, PopoverPlacement } from "./public-api";
export declare class PopoverPositionService {
    private readonly popoverPositions;
    constructor();
    setPopoverOffset(panelClass: string | string[], elRefHeight: number, overlayRefElement: HTMLElement): void;
    possiblePositionsForPlacement(placement: PopoverPlacement): ConnectedPosition[];
    getConnectedPositions(positions: PopoverOverlayPosition[]): ConnectedPosition[];
    /**
     * Returns all possible positions for a placement
     * Eg: left => [OVERLAY_POSITIONS[centerLeft], OVERLAY_POSITIONS[topLeft], OVERLAY_POSITIONS[bottomLeft]]
     *
     * @param placement
     * @returns ConnectedPosition[]
     */
    private getPositionsForPlacement;
    private getPopoverPositionPanelClass;
    private calculateOffsetY;
}
export declare function getPopoverPositions(): Record<PopoverOverlayPosition, ConnectedPosition>;
