import * as TooltipPrimitive from "@radix-ui/react-tooltip"; import type { ComponentPropsWithoutRef, ReactNode } from "react"; /** * Tooltip — built on Radix Tooltip. * * Visual: dark surface in light mode (and inverse in dark) with rounded-md, * shadow-md, text-body-sm. 8px delay-show default. * * Wrap your app in once (or use the default delayDuration here). */ declare const Provider: import("react").FC; declare const Root: import("react").FC; declare const Trigger: import("react").ForwardRefExoticComponent>; declare const Content: import("react").ForwardRefExoticComponent, "ref"> & import("react").RefAttributes>; interface TooltipProps extends ComponentPropsWithoutRef { label: ReactNode; side?: "top" | "right" | "bottom" | "left"; align?: "start" | "center" | "end"; children: ReactNode; } /** * Shorthand: * Wraps Provider + Root + Trigger asChild + Content for the common case. * For advanced usage (controlled state, custom content), use Tooltip.Root etc. directly. */ declare const Tooltip: ({ label, side, align, delayDuration, children, ...rootProps }: TooltipProps) => ReturnType; declare const TooltipWithStatics: typeof Tooltip & { Provider: typeof Provider; Root: typeof Root; Trigger: typeof Trigger; Content: typeof Content; }; export { TooltipWithStatics as Tooltip };