import { Coords, Dimensions, Maybe } from './types'; export declare const SIDE_LEFT: "left"; export declare const SIDE_RIGHT: "right"; export declare const SIDE_TOP: "top"; export declare const SIDE_BOTTOM: "bottom"; export declare const SIDE_X: readonly ["left", "right"]; export declare const SIDE_Y: readonly ["top", "bottom"]; export declare const SIDES: readonly ["left", "right", "top", "bottom"]; export declare const PLACEMENT_OVER: "over"; export declare const PLACEMENT_SCREEN: "screen"; export declare const ORIENTATIONS: readonly ["left", "right", "top", "bottom", "over", "screen"]; export declare const PLACEMENT_AUTO: "auto"; export declare const ALIGNMENT_START: "start"; export declare const ALIGNMENT_END: "end"; export declare const ALIGNMENT_ANCHORS: readonly ["start", "end"]; export declare const ALIGNMENT_CENTER = "center"; export declare const ALIGNMENTS: readonly ["start", "end", "center"]; export type Side = (typeof SIDES)[number]; export type Orientation = (typeof ORIENTATIONS)[number] | typeof PLACEMENT_AUTO; export type Alignment = (typeof ALIGNMENTS)[number]; export type PlacementParsed = [Lowercase, Lowercase] | [ typeof PLACEMENT_AUTO | typeof PLACEMENT_OVER | typeof PLACEMENT_SCREEN, undefined ]; export type Placement = Orientation | Uppercase | `${Side | Uppercase}${'_' | '-'}${Alignment | Uppercase}`; export declare function parsePlacement(position: Placement | PlacementParsed | string | null | undefined): PlacementParsed; export declare function tryGetOrientation(preferredOrientation: Orientation | undefined, anchor: Maybe, popover: Dimensions, viewport: Dimensions, offset: Coords): Orientation | undefined; export declare function getOrientation(...arguments_: Parameters): Orientation; //# sourceMappingURL=placement.d.ts.map