import { PropsWithChildren, JSX } from 'react'; import { CommonUseTooltipProps, TooltipDescription, TooltipLabel } from './useTooltip'; type TooltipProps = Omit & (TooltipLabel | TooltipDescription) & { /** * Whether the trigger element is interactive. * When trigger is interactive: * - tooltip will be shown after a 300ms delay. * When trigger is not interactive: * - tooltip will be shown instantly when pointer enters trigger. * - trigger will be wrapped in a span with a tab index from prop nonInteractiveTriggerTabIndex * @default true */ isTriggerInteractive?: boolean; /** * The tab index for the non interactive trigger. * @default 0 */ nonInteractiveTriggerTabIndex?: number; }; /** * A tooltip component */ export declare function Tooltip({ children, isTriggerInteractive, nonInteractiveTriggerTabIndex, ...props }: PropsWithChildren): JSX.Element; export {}; //# sourceMappingURL=Tooltip.d.ts.map