import * as React from 'react';
import { PopoverState } from 'reakit';
import { CSS, PolymorphicComponent, PopperProps } from './_shared';
export declare type PopoverProps = PopoverState &
PopperProps & {
/**
* Determines if `Popover` has animations.
*/
animated?: boolean;
/**
* The duration of `Popover` animations.
*
* @default 160
*/
animationDuration?: boolean;
/**
* ID that will serve as a base for all the items IDs.
*
* @see https://reakit.io/docs/popover/#usepopoverstate
*/
baseId?: string;
/**
* Content to render within the `Popover` floating label.
*/
content?: React.ReactElement | string;
/**
* Renders `Elevation` styles for the `Popover`.
*
* @default 5
*/
elevation?: number;
/**
* Max-width for the `Popover` element.
*/
maxWidth?: CSS['maxWidth'];
/**
* Callback for when the `visible` state changes.
*/
onVisibleChange?: (...args: any) => void;
/**
* Element that triggers the `visible` state of `Popover` when clicked.
*
* @example
* ```jsx
* Greet}>
* Hi! I'm Olaf!
*
* ```
*/
trigger?: React.ReactElement;
/**
* Whether `Popover` is visible.
*
* @default false
*
* @see https://reakit.io/docs/popover/#usepopoverstate
*/
visible?: boolean;
};
/**
* `Popover` is a component that provides context and controls in an
*
* @example
* ```jsx
* Greet}>
* Hi! I'm Olaf!
*
* ```
*/
export declare const Popover: PolymorphicComponent<'div', PopoverProps>;