import React from 'react';
import { Popover as MantinePopover, PopoverProps as MantinePopoverProps } from '@mantine/core';
export type PopoverProps = {
    children: (({ opened, open, close, }: {
        opened: boolean;
        close: () => void;
        open: () => void;
    }) => JSX.Element | JSX.Element[]) | (JSX.Element | JSX.Element[]);
} & Omit<MantinePopoverProps, 'children'>;
export declare const _Popover: ({ children, closeOnClickOutside, ...rest }: PopoverProps) => React.JSX.Element;
export interface CompoundedComponent extends React.ForwardRefExoticComponent<PopoverProps> {
    Target: typeof MantinePopover.Target;
    Dropdown: typeof MantinePopover.Dropdown;
}
declare const Popover: CompoundedComponent;
export { Popover };
