import React from 'react';
import { PopoverProps as ChakraPopoverProps } from '@chakra-ui/react';
type ForbidProps<T> = {
    [P in keyof T]?: never;
};
type RenderFunction = () => React.ReactNode;
type OptionalContentProps = {
    title?: React.ReactNode | RenderFunction;
    content: React.ReactNode | RenderFunction;
    hideCloseButton?: boolean;
    hasArrow?: boolean;
    isInPortal?: boolean;
};
declare const trigger: readonly ["click", "hover"];
export type TriggerEnum = typeof trigger[number];
type PopoverProps = ChakraPopoverProps & (OptionalContentProps | ForbidProps<OptionalContentProps>);
declare const Popover: import("@chakra-ui/react").ComponentWithAs<"section", PopoverProps>;
export default Popover;
