import { TooltipArrowProps, TooltipContentProps } from '@radix-ui/react-tooltip'; import { default as React } from 'react'; import { DeepPartial } from '../../types'; import { TooltipTheme } from './theme'; export interface TooltipProps extends Omit { label: React.ReactNode | undefined; arrow?: boolean; arrowProps?: TooltipArrowProps & React.RefAttributes; theme?: DeepPartial; className?: string; children?: React.ReactNode; open?: boolean; disabled?: boolean; defaultOpen?: boolean; onOpenChange?: (open: boolean) => void; /** * The duration from when the pointer enters the trigger until the tooltip gets opened. This will * override the prop with the same name passed to Provider. * @defaultValue 700 */ delayDuration?: number; /** * When `true`, trying to hover the content will result in the tooltip closing as the pointer leaves the trigger. * @defaultValue false */ closeOnHover?: boolean; } export declare const Tooltip: ({ children, label, arrow, className, theme: customTheme, open, defaultOpen, onOpenChange, arrowProps, delayDuration, disabled, closeOnHover, ...rest }: TooltipProps) => import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=Tooltip.d.ts.map