import * as React from 'react'; import '@vtmn/css-tooltip/dist/index-with-vars.css'; import { VtmnTooltipPosition } from './types'; export interface VtmnTooltipProps extends React.ComponentPropsWithoutRef<'span'> { /** * The position of tooltip from original element. * @defaultValue 'top' */ position?: VtmnTooltipPosition; /** * The tooltip text of the span. * @defaultValue undefined */ tooltip: string; /** * The content to render inside the component. * @defaultValue undefined */ children: React.ReactNode; } export declare const VtmnTooltip: ({ children, position, tooltip, className, ...props }: VtmnTooltipProps) => JSX.Element; declare const MemoVtmnTooltip: React.MemoExoticComponent<({ children, position, tooltip, className, ...props }: VtmnTooltipProps) => JSX.Element>; export default MemoVtmnTooltip;