import './Tooltip.css'; import React from 'react'; import { ClickOutsideHandler } from '../../hooks/useClickOutside/useClickOutside'; import { PropsWithJsxAttributes } from '../../utils/types/PropsWithJsxAttributes'; import { Direction, PositioningProps } from '../Popover/Popover'; import { TextPropSize } from '../Typography/Typography'; export declare const tooltipPropSizes: readonly ["m", "s", "l", "window"]; export declare const tooltipPropSizesDefault: "m"; export declare type TooltipPropSize = typeof tooltipPropSizes[number]; export declare const tooltipPropStatus: readonly ["normal", "error", "success", "warning"]; export declare type TooltipPropStatus = typeof tooltipPropStatus[number]; export declare type TooltipProps = PropsWithJsxAttributes<{ size?: TooltipPropSize; status?: TooltipPropStatus; direction?: Direction; spareDirection?: Direction; possibleDirections?: readonly Direction[]; isInteractive?: boolean; children: React.ReactNode; onClickOutside?: ClickOutsideHandler; className?: string; textSize?: TextPropSize; onSetDirection?: (direction: Direction) => void; } & PositioningProps>; export declare const Tooltip: React.ForwardRefExoticComponent & React.RefAttributes>;