///
import { ComponentClass } from 'react';
export declare type PositionAuto = 'auto';
export declare type PositionBottom = 'bottom';
export declare type PositionCenter = 'center';
export declare type PositionLeft = 'left';
export declare type PositionRight = 'right';
export declare type PositionTop = 'top';
export declare type Position = PositionAuto | PositionBottom | PositionCenter | PositionLeft | PositionRight | PositionTop;
export declare type OrientationHorizontal = 'horizontal';
export declare type OrientationVertical = 'vertical';
export declare type Orientation = OrientationHorizontal | OrientationVertical;
export declare const POSITIONS: {
AUTO: "auto";
BOTTOM: "bottom";
CENTER: "center";
LEFT: "left";
RIGHT: "right";
TOP: "top";
};
export declare const ORIENTATIONS: {
VERTICAL: "vertical";
HORIZONTAL: "horizontal";
};
export interface WithPositionProps {
active?: boolean;
align?: Position;
orientation?: Orientation;
position?: Position;
providerNode?: HTMLElement | null;
}
export interface WithPositionArgs {
align?: Position;
orientation?: Orientation;
position?: Position;
}
export declare type WithPositionHOC = (decorated: ComponentClass) => ComponentClass;
export default function withPosition({align: defaultAlign, orientation: defaultOrientation, position: defaultPosition}?: WithPositionArgs): WithPositionHOC;