/** * Tooltip — a hint on hover or focus for whatever is nested inside it (W2). * * `label` is the shorthand a WIRE tree can express; `content` is the code-only * slot for a hint that is more than one line. Content wins when both are given. */ import { Tooltip as Base } from "@base-ui/react/tooltip"; import { type ComponentProps, type ReactNode } from "react"; import { type KitStyled, type KitEngine, type KitRendered } from "../tokens.js"; interface TooltipOwnProps extends KitStyled { /** The hint, as plain text. */ label?: string; /** Code-only: Kit elements rendered as the hint instead of `label`. */ content?: ReactNode; /** The control the hint belongs to. */ children?: ReactNode; } /** Plus any Base UI `` prop, handed straight to the tooltip. * `style` stays the Kit's own — Tooltip.Root draws nothing, so it dresses the * TRIGGER the caller sees, not the portalled hint. */ export type TooltipProps = TooltipOwnProps & KitEngine, TooltipOwnProps>; export declare function Tooltip({ label, content, children, style, pending, ...engine }: TooltipProps & KitRendered): import("react").JSX.Element; export {};