import { Coords } from "./dom"; export declare enum CardinalOrientation { EAST = "east", SOUTH = "south", WEST = "west", NORTH = "north", CENTER = "center", EASTNORTH = "east-north", EASTSOUTH = "east-south", SOUTHEAST = "south-east", SOUTHWEST = "south-west", WESTSOUTH = "west-south", WESTNORTH = "west-north", NORTHWEST = "north-west", NORTHEAST = "north-east" } export interface OrientationCoords { orientation: CardinalOrientation; coords: Coords; } interface GetTooltipPositionArgs { target: HTMLElement; tooltip: HTMLElement; padding: number; tooltipSeparation: number; tourRoot: Element; orientationPreferences?: CardinalOrientation[]; getPositionFromCandidates?: (candidates: OrientationCoords[]) => Coords; scrollDisabled?: boolean; allowForeignTarget?: boolean; selector?: string; } export declare function getTooltipPosition(args: GetTooltipPositionArgs): Coords; export declare function getTargetPosition(root: Element, target: HTMLElement): Coords; export {};