import React from 'react';
import { TooltipProps, TooltipTypes } from '../tooltip/tooltip';
import { Placement, TriggerTypes } from '../utils/prop-types';
export type PopoverTriggerTypes = TriggerTypes;
export type PopoverPlacement = Placement;
interface Props {
    child?: any;
    trigger?: PopoverTriggerTypes;
    placement?: Placement;
    disableItemsAutoClose?: boolean;
    type?: TooltipTypes;
}
type ExcludeTooltipProps = {
    text: any;
    trigger: any;
    placement: any;
};
export type PopoverProps = Props & Omit<TooltipProps, keyof ExcludeTooltipProps>;
declare const Popover: React.ForwardRefExoticComponent<Props & Omit<TooltipProps, keyof ExcludeTooltipProps> & {
    width?: string | number;
    height?: string | number;
    padding?: string | number;
    margin?: string | number;
    w?: string | number;
    h?: string | number;
    paddingLeft?: string | number;
    paddingRight?: string | number;
    paddingTop?: string | number;
    paddingBottom?: string | number;
    pl?: string | number;
    pr?: string | number;
    pt?: string | number;
    pb?: string | number;
    marginLeft?: string | number;
    marginRight?: string | number;
    marginTop?: string | number;
    marginBottom?: string | number;
    ml?: string | number;
    mr?: string | number;
    mt?: string | number;
    mb?: string | number;
    px?: string | number;
    py?: string | number;
    mx?: string | number;
    my?: string | number;
    font?: string | number;
    unit?: string;
    scale?: number;
    children?: any;
    className?: string;
} & React.InputHTMLAttributes<any> & React.RefAttributes<unknown>>;
export default Popover;
