import React from 'react';
import { Align, Justify } from './Popover.types';
/**
*
* React Component that handles positioning of content relative to another element.
*
* ```
*
* ```
* @param props.active Boolean to describe whether or not Popover is active.
* @param props.spacing The spacing (in pixels) between the reference element, and the popover.
* @param props.align Alignment of Popover component relative to another element: `top`, `bottom`, `left`, `right`, `center-horizontal`, `center-vertical`.
* @param props.justify Justification of Popover component relative to another element: `start`, `middle`, `end`.
* @param props.adjustOnMutation: Should the Popover auto adjust its content when the DOM changes (using MutationObserver).
* @param props.children Content to appear inside of Popover container.
* @param props.className Classname applied to Popover container.
* @param props.popoverZIndex Number that controls the z-index of the popover element directly.
* @param props.refEl Reference element that Popover component should be positioned against.
* @param props.renderMode Options to render the popover element: `inline`, `portal`, `top-layer`.
* @param props.portalClassName Classname applied to root element of the portal.
* @param props.portalContainer HTML element that the popover is portaled within.
* @param props.portalRef A ref for the Portal element.
* @param props.scrollContainer HTML ancestor element that's scrollable to position the popover accurately within scrolling containers.
*/
export declare const Popover: React.ForwardRefExoticComponent<(Omit, HTMLDivElement>, "children"> & {
children: React.ReactNode | ((Options: import("./Popover.types").ChildrenFunctionParameters) => React.ReactNode);
active?: boolean;
adjustOnMutation?: boolean;
align?: Align;
className?: string;
justify?: Justify;
maxHeight?: number;
maxWidth?: number;
onClick?: React.MouseEventHandler;
popoverZIndex?: number;
refEl?: React.RefObject;
spacing?: number;
} & import("./Popover.types").RenderInlineProps & {
onEnter?: ((isAppearing: boolean) => void) | undefined;
onEntering?: ((isAppearing: boolean) => void) | undefined;
onEntered?: ((isAppearing: boolean) => void) | undefined;
onExit?: (() => void) | undefined;
onExiting?: (() => void) | undefined;
onExited?: (() => void) | undefined;
}, "ref"> | Omit, HTMLDivElement>, "children"> & {
children: React.ReactNode | ((Options: import("./Popover.types").ChildrenFunctionParameters) => React.ReactNode);
active?: boolean;
adjustOnMutation?: boolean;
align?: Align;
className?: string;
justify?: Justify;
maxHeight?: number;
maxWidth?: number;
onClick?: React.MouseEventHandler;
popoverZIndex?: number;
refEl?: React.RefObject;
spacing?: number;
} & import("./Popover.types").RenderPortalProps & {
onEnter?: ((isAppearing: boolean) => void) | undefined;
onEntering?: ((isAppearing: boolean) => void) | undefined;
onEntered?: ((isAppearing: boolean) => void) | undefined;
onExit?: (() => void) | undefined;
onExiting?: (() => void) | undefined;
onExited?: (() => void) | undefined;
}, "ref"> | Omit, HTMLDivElement>, "children"> & {
children: React.ReactNode | ((Options: import("./Popover.types").ChildrenFunctionParameters) => React.ReactNode);
active?: boolean;
adjustOnMutation?: boolean;
align?: Align;
className?: string;
justify?: Justify;
maxHeight?: number;
maxWidth?: number;
onClick?: React.MouseEventHandler;
popoverZIndex?: number;
refEl?: React.RefObject;
spacing?: number;
} & import("./Popover.types").RenderTopLayerProps & {
onEnter?: ((isAppearing: boolean) => void) | undefined;
onEntering?: ((isAppearing: boolean) => void) | undefined;
onEntered?: ((isAppearing: boolean) => void) | undefined;
onExit?: (() => void) | undefined;
onExiting?: (() => void) | undefined;
onExited?: (() => void) | undefined;
}, "ref">) & React.RefAttributes>;
//# sourceMappingURL=Popover.d.ts.map