import React from 'react'; /** Направление раскрытия тултипа */ export declare type BasePlacement = 'top' | 'bottom' | 'right' | 'left'; export declare type VariationPlacement = 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end'; export declare type Placement = BasePlacement | VariationPlacement; export interface TooltipProps extends React.HTMLAttributes { /** * Текст тултипа. */ text: string; /** * Видимость тултипа. */ isVisible: boolean; /** * Направление раскрытия тултипа. */ placement?: Placement; /** * Видимость стрелки (хвоста). */ arrow?: boolean; /** * Анимированное появление/сокрытие. */ animated?: boolean; /** * Событие закрытия тултипа по кнопке Esc. */ onDismiss?: () => void; } /** * Компонент для текстовых подсказок. Основное предназначение — подписи к блокам. */ export declare const Tooltip: React.FC; //# sourceMappingURL=Tooltip.d.ts.map