import React, { ReactNode, CSSProperties, HTMLAttributes } from 'react'; import { FloatingPlacement, RendererPopupProps } from '../Floating'; export interface BaseTooltipPopupProps { refArrow?: RendererPopupProps['attributes']['setArrowEl']; size?: 's' | 'm'; anchor?: 'left' | 'right' | 'top' | 'bottom' | 'auto'; placement?: FloatingPlacement; arrowX?: number; arrowY?: number; width?: string | number; allowInteraction?: boolean; /** Цветовая схема */ design?: 'light' | 'dark' | 'warning' | 'critical' | 'success'; disabled?: boolean; style?: CSSProperties; children: ReactNode; } export type TooltipPopupProps = HTMLAttributes & BaseTooltipPopupProps; export declare const TooltipPopup: React.ForwardRefExoticComponent & React.RefAttributes>; export default TooltipPopup;