import type { ReactNode, RefObject } from 'react'; import { type TooltipProps as RACTooltipProps } from 'react-aria-components'; import type { CommonProps } from '../types.js'; export interface TooltipProps extends Omit, Pick { /** The element that this tooltip describes. Must be focusable and hoverable. */ children: ReactNode; /** The contents of the tooltip. */ label: string; /** The ref for the element which the tooltip positions itself with respect to. */ triggerRef?: RefObject; /** Whether the tooltip is disabled. */ isDisabled?: boolean; } /** * Provides additional information about an element that is hovered or focused. * * See [tooltip usage guidelines](https://ui.cimpress.io/components/tooltip/). */ declare const _Tooltip: (props: TooltipProps & import("react").RefAttributes) => import("react").JSX.Element | null; export { _Tooltip as Tooltip }; //# sourceMappingURL=tooltip.d.ts.map