import { CSSObject } from 'styled-components'; export declare type PopoverPosition = 'left' | 'top' | 'right' | 'bottom'; export declare const backgroundColor = "#393941"; export declare function getPositionOffset(placing: PopoverPosition, rect: ClientRect, offset: number, breached: boolean, containerRect: ClientRect | null): CSSObject; export declare function getRect(element: Element | null): DOMRect; export declare function getAutoPlacing(rect: ClientRect, placing: PopoverPosition, width: number): PopoverPosition; export declare function getFlexDirection(placing: PopoverPosition): CSSObject; export declare function getArrow(placing: PopoverPosition, rect: ClientRect, breached: boolean, containerRect: ClientRect | null): CSSObject; export declare const getHeightOffset: (rect: ClientRect, containerRect: ClientRect | null) => number;