import type { Placement, ComputePositionConfig, ComputePositionReturn } from './types.js';
/**
 * Compute the position of a floating element relative to a reference element
 */
export declare function computePosition(reference: Element, floating: HTMLElement, config?: ComputePositionConfig): ComputePositionReturn;
/**
 * Get the opposite placement
 */
export declare function getOppositePlacement(placement: Placement): Placement;
/**
 * Get the side from a placement
 */
export declare function getSide(placement: Placement): 'top' | 'right' | 'bottom' | 'left';
//# sourceMappingURL=compute-position.d.ts.map