import { Origin, Flip, Position, Direction, PopoverPosition } from "./types";
export declare const flipPosition: ({ x, y }: Flip, [posX, posY]: Position) => [number, number];
export declare const getPaddingSide: ([anchorX, anchorY]: Position, [targetX, targetY]: Position) => Direction | null;
export declare const getDirection: ([targetX, targetY]: Position) => string;
export declare const checkFit: (anchorNode: HTMLElement, containerNode: HTMLElement, targetOrigin: Origin, anchorOrigin: Origin) => {
    x: boolean;
    y: boolean;
};
export declare const syncPosition: (anchor: HTMLElement, node: HTMLElement) => void;
export declare const getOriginPosition: (flip: Flip | null, origin: Origin) => Position;
export declare const setPopupContainerPosition: (anchorNode: HTMLElement, node: HTMLElement, { anchorOriginPosition: [anchorX, anchorY], targetOriginPosition: [targetX, targetY], paddingSide }: PopoverPosition, animateAppearance: boolean, animateX: boolean, animateY: boolean) => void;
