import { Simulate } from 'react-dom/test-utils'; import type { TooltipSize } from './Tooltip.types'; export declare const tooltipLegacyDriverFactory: ({ element, eventTrigger, }: { element: Element | undefined; eventTrigger: typeof Simulate; }) => { /** returns true if trigger element exists on the DOM */ exists: () => Promise; /** returns true if tooltip element exists on the DOM */ tooltipExists: () => Promise; /** mouse over the target element */ mouseEnter: () => Promise; /** mouse leaves the target element */ mouseLeave: () => Promise; /** clicks outside the tooltip target */ clickOutside: () => Promise; /** returns tooltips content value in string */ getTooltipText: () => string | null | undefined; /** * Checks whether tooltip has a given size * @param {boolean} sizeName The tooltip size * @return {Promise} */ hasSize: (sizeName: TooltipSize) => boolean; }; //# sourceMappingURL=Tooltip.driver.d.ts.map