import React from 'react'; import { TooltipProps } from '../tooltip/tooltip'; import PopoverItem from '../popover/popover-item'; import { Placement, TriggerTypes } from '../utils/prop-types'; interface Props { content?: React.ReactNode | (() => React.ReactNode); trigger?: TriggerTypes; placement?: Placement; } declare const defaultProps: { trigger: "hover" | "click"; placement: "top" | "topStart" | "topEnd" | "left" | "leftStart" | "leftEnd" | "bottom" | "bottomStart" | "bottomEnd" | "right" | "rightStart" | "rightEnd"; portalClassName: string; }; declare type ExcludeTooltipProps = { type: any; text: any; trigger: any; placement: any; }; export declare type PopoverProps = Props & Omit; declare type PopoverComponent

= React.FC

& { Item: typeof PopoverItem; Option: typeof PopoverItem; }; declare type ComponentProps = Partial & Omit & Partial>; declare const _default: PopoverComponent; export default _default;