import { Tooltip as TooltipPrimitive } from "@base-ui-components/react/tooltip"; import React, { ComponentProps, ComponentPropsWithoutRef } from "react"; import { TooltipVariantProps } from "../../styles/utils/tooltip"; export declare const TooltipLabel: React.ForwardRefExoticComponent, HTMLSpanElement>, "ref"> & { asChild?: boolean; } & import("tailwind-variants").VariantProps>> & import("../..").TextColorVariantProps & React.RefAttributes, "ref">, "size"> & import("tailwind-variants").VariantProps>>> & React.RefAttributes, "ref"> & React.RefAttributes>; export type TooltipProps = Pick, "open" | "defaultOpen" | "onOpenChange" | "delay" | "hoverable"> & Pick, "align" | "side" | "alignOffset" | "sideOffset" | "anchor" | "className" | "style"> & Pick, "container"> & TooltipVariantProps & { /** * Trigger content */ children: React.ReactNode & ComponentPropsWithoutRef["render"]; /** * Content to render in the portal. */ content: React.ReactNode; /** * Whether to disable the Tooltip from opening. */ disabled?: boolean; /** * Whether to disable pointer events on the Tooltip. * We need to apply classes to [data-radix-popper-content-wrapper] to make this work. * NOTE: this automatically disables portals */ disablePointerEvents?: boolean; /** * This will make the tooltip stick to the cursor as it moves. */ attachToCursor?: boolean; /** * Set the cursor class name * Default: cursor-pointer */ cursorClassName?: string; }; /** * A popup that displays information related to an element when the element receives keyboard focus or the mouse hovers over it. */ export declare const TooltipBase: React.ForwardRefExoticComponent & Pick, "className" | "style" | "anchor" | "side" | "align" | "alignOffset" | "sideOffset"> & Pick & TooltipVariantProps & { /** * Trigger content */ children: React.ReactNode & ComponentPropsWithoutRef["render"]; /** * Content to render in the portal. */ content: React.ReactNode; /** * Whether to disable the Tooltip from opening. */ disabled?: boolean; /** * Whether to disable pointer events on the Tooltip. * We need to apply classes to [data-radix-popper-content-wrapper] to make this work. * NOTE: this automatically disables portals */ disablePointerEvents?: boolean; /** * This will make the tooltip stick to the cursor as it moves. */ attachToCursor?: boolean; /** * Set the cursor class name * Default: cursor-pointer */ cursorClassName?: string; } & React.RefAttributes>; export declare const Tooltip: React.ForwardRefExoticComponent & Pick, "className" | "style" | "anchor" | "side" | "align" | "alignOffset" | "sideOffset"> & Pick & TooltipVariantProps & { /** * Trigger content */ children: React.ReactNode & ComponentPropsWithoutRef["render"]; /** * Content to render in the portal. */ content: React.ReactNode; /** * Whether to disable the Tooltip from opening. */ disabled?: boolean; /** * Whether to disable pointer events on the Tooltip. * We need to apply classes to [data-radix-popper-content-wrapper] to make this work. * NOTE: this automatically disables portals */ disablePointerEvents?: boolean; /** * This will make the tooltip stick to the cursor as it moves. */ attachToCursor?: boolean; /** * Set the cursor class name * Default: cursor-pointer */ cursorClassName?: string; } & React.RefAttributes> & { Label: React.ForwardRefExoticComponent, HTMLSpanElement>, "ref"> & { asChild?: boolean; } & import("tailwind-variants").VariantProps>> & import("../..").TextColorVariantProps & React.RefAttributes, "ref">, "size"> & import("tailwind-variants").VariantProps>>> & React.RefAttributes, "ref"> & React.RefAttributes>; }; //# sourceMappingURL=Tooltip.d.ts.map