import * as React from 'react'; import { WithStyles } from '../withStyles'; import styles from './Popover.styles'; import { XPosition, YPosition } from './translations'; export interface PopoverProps extends WithStyles { /** Opens the popover when true */ open: boolean; /** The corner of the popover to use for positioning */ anchor: [YPosition, XPosition]; /** The corner of the container to fix the anchor to */ to: [YPosition, XPosition]; width?: 'auto'; height?: 'auto'; /** Called when the user clicks the overlay */ onOverlayClick: () => any; /** The popover contents */ children: React.ReactNode; } export declare const Popover: React.SFC; declare const _default: React.FunctionComponent & import("@material-ui/core/styles/withStyles").StyledComponentProps & import("../ThemeSelector/ThemeSelector").ThemeProps> & { Anchor: React.ComponentType & import("@material-ui/core/styles/withStyles").StyledComponentProps>; Item: React.ComponentType & import("@material-ui/core/styles/withStyles").StyledComponentProps>; Header: React.ComponentType & import("@material-ui/core/styles/withStyles").StyledComponentProps>; Body: React.ComponentType & import("@material-ui/core/styles/withStyles").StyledComponentProps>; Footer: React.ComponentType & import("@material-ui/core/styles/withStyles").StyledComponentProps>; }; export default _default;