import React from 'react';
import { TriggerTypes, Placement, SnippetTypes } from '../utils/prop-types';
export type TooltipOnVisibleChange = (visible: boolean) => void;
export type TooltipTypes = SnippetTypes;
export type TooltipTriggers = TriggerTypes;
export type TooltipPlacement = Placement;
interface Props {
    text: string | React.ReactNode;
    type?: TooltipTypes;
    placement?: TooltipPlacement;
    visible?: boolean;
    initialVisible?: boolean;
    hideArrow?: boolean;
    trigger?: TooltipTriggers;
    enterDelay?: number;
    leaveDelay?: number;
    offset?: number;
    className?: string;
    portalClassName?: string;
    onVisibleChange?: TooltipOnVisibleChange;
}
type NativeAttrs = Omit<React.HTMLAttributes<any>, keyof Props>;
export type TooltipProps = Props & NativeAttrs;
declare const Tooltip: React.ForwardRefExoticComponent<Props & NativeAttrs & {
    children?: React.ReactNode | undefined;
} & {
    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 Tooltip;
