import * as TooltipPrimitive from "@radix-ui/react-tooltip"; export type TooltipProps = Readonly<{ children: React.ReactNode; content: React.ReactNode; isTriggerDisabled?: boolean; className?: string; triggerClassName?: string; side?: TooltipPrimitive.TooltipContentProps["side"]; withPortal?: boolean; defaultOpen?: boolean; triggerTabIndex?: number; sideOffset?: number; withArrow?: boolean; /** * Never open the tooltip from focus, only from hover (or tap on mobile). Prevents it * flashing when a focus scope (e.g. a Dialog) autofocuses the trigger on mount. Pair * with an explicit `aria-label` on the trigger so the accessible name is preserved. */ disableFocusOpen?: boolean; }>; /** * Creating our own API by abstracting the primitive parts into our own component. * https://www.radix-ui.com/primitives/docs/components/tooltip#custom-apis * * ⚠️ The component that is passed as a trigger MUST forward the ref */ export declare const Tooltip: ({ children, content, isTriggerDisabled, className, triggerClassName, withPortal, side, defaultOpen, triggerTabIndex, sideOffset, withArrow, disableFocusOpen, ...props }: TooltipProps) => import("react").JSX.Element; //# sourceMappingURL=Tooltip.d.ts.map