import type { TooltipContextType, ITooltipProps, ITooltipProviderProps, ITooltipTriggerProps, ITooltipPortalProps, ITooltipPositionerProps, ITooltipPopupProps, ITooltipArrowProps } from './Tooltip.types'; declare const useTooltip: () => TooltipContextType; /** * Shared configuration provider for a group of tooltips. * Sets defaults like delay, skip-delay, and close-delay for all nested Tooltips. * * @param props - Provider props forwarded to Base UI Tooltip.Provider * * @example * ```tsx * * ... * ... * * ``` */ declare function TooltipProvider({ slots: _slots, ...props }: ITooltipProviderProps): import("react/jsx-runtime").JSX.Element; /** * Root Tooltip component. * Manages controlled/uncontrolled open state, cursor-following motion values, * and provides context to children. * * @param props - Tooltip root props including `followCursor` and spring options * * @example * ```tsx * * Hover * * * Content * * * * ``` */ declare function Tooltip({ followCursor, followCursorSpringOptions, slots, config: _config, ...props }: ITooltipProps): import("react/jsx-runtime").JSX.Element; /** * Trigger element that shows the tooltip on hover/focus. * Tracks mouse position when `followCursor` is enabled on the parent Tooltip. * * @param props - Trigger props forwarded to Base UI Tooltip.Trigger * * @example * ```tsx * * * * ``` */ declare function TooltipTrigger({ onMouseMove, slots, className, ...props }: ITooltipTriggerProps): import("react/jsx-runtime").JSX.Element; /** * Portal wrapper with AnimatePresence for coordinated enter/exit animations. * Internally sets `keepMounted` so motion exit animations play correctly. * * @param props - Portal props (without keepMounted) * * @example * ```tsx * * * ... * * * ``` */ declare function TooltipPortal({ slots: _slots, ...props }: ITooltipPortalProps): import("react/jsx-runtime").JSX.Element; /** * Positioning wrapper that automatically places the popup relative to the trigger. * * @param props - Positioner props forwarded to Base UI Tooltip.Positioner * * @example * ```tsx * * Content * * ``` */ declare function TooltipPositioner({ slots, className, ...props }: ITooltipPositionerProps): import("react/jsx-runtime").JSX.Element; /** * Main tooltip content container with scale entrance animation. * Supports spring-animated cursor-following when `followCursor` is enabled * on the parent Tooltip. * * @param props - Popup props including motion transition overrides * * @example * ```tsx * * Helpful information * * ``` */ declare function TooltipPopup({ transition, style, slots, className, ...props }: ITooltipPopupProps): import("react/jsx-runtime").JSX.Element; /** * Directional arrow pointing toward the trigger element. * * @param props - Arrow props forwarded to Base UI Tooltip.Arrow * * @example * ```tsx * * ``` */ declare function TooltipArrow({ slots, className, ...props }: ITooltipArrowProps): import("react/jsx-runtime").JSX.Element; export { TooltipProvider, Tooltip, TooltipTrigger, TooltipPortal, TooltipPositioner, TooltipPopup, TooltipArrow, useTooltip, }; export type { ITooltipProviderProps, ITooltipProps, ITooltipTriggerProps, ITooltipPortalProps, ITooltipPositionerProps, ITooltipPopupProps, ITooltipArrowProps, TooltipContextType, TooltipSlot, ITooltipConfig, } from './Tooltip.types'; export { tooltipStyles } from './Tooltip.styles'; //# sourceMappingURL=index.d.ts.map