import { default as React } from 'react'; import * as TooltipPrimitive from '@radix-ui/react-tooltip'; export declare const rootClassName = "teddy-tooltip"; export declare const RootContext: React.Context<{ negative?: boolean; } | undefined>; export type RootProps = React.ComponentPropsWithoutRef & { /** The open state of the tooltip when it is initially rendered. Use when you do not need to control its open state. */ defaultOpen?: boolean; /** The controlled open state of the tooltip. Must be used in conjunction with onOpenChange. */ open?: boolean; /** Event handler called when the open state of the tooltip changes. */ onOpenChange?(open: boolean): void; /** Override the duration given to the `Provider` to customise the open delay for a specific tooltip. */ delayDuration?: number; /** Prevents Tooltip.Content from remaining open when hovering. Disabling this has accessibility consequences. Inherits from Tooltip.Provider. */ disableHoverableContent?: boolean; negative?: boolean; }; /** Contains all the parts of a tooltip. */ export declare function Root({ ...props }: RootProps): import("react/jsx-runtime").JSX.Element; export declare namespace Root { var displayName: string; }