import * as React from 'react'; import './style/index.less'; import { RenderFunction } from '@xt-ui/utils'; export type PlacementProps = 'top-left' | 'top' | 'top-right' | 'bottom-left' | 'bottom' | 'bottom-right' | 'left-top' | 'left' | 'left-bottom' | 'right-top' | 'right' | 'right-bottom'; export type TriggerType = 'hover' | 'click'; export interface TooltipInitProps { children: React.ReactNode; overlay?: React.ReactNode | RenderFunction | any; className?: string; hasOverlayStyle?: boolean; placement?: PlacementProps; defaultVisible?: boolean; mouseEnterDelay?: number; alwaysVisible?: boolean; trigger?: TriggerType; visible?: boolean; manualed?: boolean; lightBg?: boolean; } declare const Tooltip: React.FC; export default Tooltip;