import React from 'react'; export interface MdTooltipProps extends React.HTMLAttributes { /** * v5.1.x Removed support for ReactNode for tooltipContent, only string is supported. */ tooltipContent: string; children: React.ReactNode; position?: 'top' | 'bottom' | 'right' | 'left'; timeout?: number; mode?: 'small' | 'medium' | 'large'; anchorClassName?: string; tooltipClassName?: string; /** * When `true`, the tooltip will be unmounted when it is hidden. This can be useful for performance reasons, but it may cause issues with animations or transitions. * @default false * @see https://ariakit.org/reference/tooltip#unmountonhide */ unmountOnHide?: boolean; } export declare const MdTooltip: React.FC; export default MdTooltip;