import { type OffsetOptions, type Placement, type VirtualElement } from "@floating-ui/react";
import { type IRegion } from "../../typings/domUtilities.js";
import { type IFloatingAnchor, type ILegacyAlignPoint } from "./types.js";
/**
 * @internal
 */
export declare function alignPointToPlacement(alignPoint: ILegacyAlignPoint): Placement;
/**
 * @internal
 */
export declare function alignPointsToPlacement(alignPoints: ILegacyAlignPoint[]): Placement;
/**
 * @internal
 */
export declare function alignPointsToFallbackPlacements(alignPoints: ILegacyAlignPoint[]): Placement[];
/**
 * Converts legacy alignPoint x/y offsets to floating-ui offset options.
 *
 * For vertical placements (top/bottom):
 * - y offset → mainAxis (distance from anchor)
 * - x offset → crossAxis (horizontal shift)
 *
 * For horizontal placements (left/right):
 * - x offset → mainAxis (distance from anchor)
 * - y offset → crossAxis (vertical shift)
 *
 * @internal
 */
export declare function getOffsetFromAlignPoint(alignPoint: ILegacyAlignPoint, placement: Placement): OffsetOptions;
/**
 * @internal
 */
export declare function resolveAnchor(anchor: IFloatingAnchor): HTMLElement | VirtualElement | null;
/**
 * @internal
 */
export declare function getDimensionsFromRef(ref: HTMLElement | VirtualElement | null): IRegion;
/**
 * @internal
 */
export declare function isClickOnIgnoredElement(target: Element, ignoreClicksOn: Array<string | HTMLElement>): boolean;
//# sourceMappingURL=utils.d.ts.map