import React from 'react'; export { default as PopupTrigger } from './PopupTrigger'; interface PopupProps { show?: boolean; spacing?: number; placement?: string; delay?: DelayProps; targetRef?: RefProps; children?: Function; onMouseEnter?: Function; onMouseLeave?: Function; onClick?: Function; onClickOutside?: Function; } export interface DelayProps { show?: number; hide?: number; } export interface RefProps extends React.RefObject<{}> { current: { getBoundingClientRect?: Function; addEventListener?: Function; removeEventListener?: Function; contains?: Function; matches?: Function; }; } interface PositionProps { top: number; left: number; } export interface PopupCallbackProps { placement?: string; ref?: React.RefObject<{}>; show?: boolean; position?: PositionProps; arrowStyle?: string; } declare const Popup: { (props: PopupProps): JSX.Element; propTypes: { children: import("prop-types").Requireable<(...args: any[]) => any>; delay: import("prop-types").Requireable; placement: import("prop-types").Requireable; show: import("prop-types").Requireable; spacing: import("prop-types").Requireable; targetRef: import("prop-types").Requireable; onClick: import("prop-types").Requireable<(...args: any[]) => any>; onMouseEnter: import("prop-types").Requireable<(...args: any[]) => any>; onMouseLeave: import("prop-types").Requireable<(...args: any[]) => any>; }; defaultProps: { show: boolean; spacing: number; placement: string; children: () => {}; delay: { show: number; hide: number; }; targetRef: undefined; }; }; export default Popup;