import React from 'react';
import { BasePlacement, Rect } from '@popperjs/core';
import { ColorFn } from 'common/Types';
type OffsetFunctionArg = {
    popper: Rect;
    reference: Rect;
    placement: BasePlacement;
};
type BareOffset = [number, number];
type EmptyOffset = [];
type Offset = BareOffset | EmptyOffset;
export type OffsetArg = Offset | ((arg: OffsetFunctionArg) => Offset);
export type InModal = boolean;
export type Position = 'top' | 'top-start' | 'top-end' | 'right' | 'right-start' | 'right-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end';
export type Props = {
    className?: string;
    id?: string;
    label: React.ReactNode;
    offset?: OffsetArg;
    position?: Position;
    positionCallback?: (calulatedPostion: Position) => void;
    triggerElement?: Element;
    ariaLabel?: string;
    backgroundColor?: ColorFn;
    borderColor?: ColorFn;
    inModal?: InModal;
    maxWidth?: number;
    pointerEvents?: boolean;
    handleMouseEnter?: (e: any) => void;
    handleMouseLeave?: (e: any) => void;
    customBoundary?: HTMLElement | Array<HTMLElement>;
    bottomSheet?: boolean;
    bottomSheetTitle?: string;
    onBottomSheetClose?: () => void;
    pointerArrow?: boolean;
    invertedColors?: boolean;
    setPopoverElement?: (r: any) => void;
};
export {};
