import type { Simulate } from 'react-dom/test-utils';
/** @deprecated use popoverNextUniDriverFactory instead */
export declare const popoverNextLegacyDriverFactory: ({ element, eventTrigger, }: {
    element: Element | undefined;
    eventTrigger: typeof Simulate;
}) => {
    /** Whether the element exists or not */
    exists: () => boolean;
    /** Returns the target element (`<Popover.Trigger/>`)
     * @deprecated
     * Use getTriggerElement
     */
    getTargetElement: () => Element | null;
    /**  Returns the trigger element (`<Popover.Trigger/>`) */
    getTriggerElement: () => Element | null;
    /** Returns the content element (`<Popover.Content/>`) */
    getContentElement: () => Element | null;
    /** Returns the arrow element
     * @todo not yet implemented
     */
    getArrowElement: () => Element | undefined;
    /** Returns `true` whether the target element (`<Popover.Trigger/>`) exists
     * @deprecated - use isTriggerElementExists
     */
    isTargetElementExists: () => boolean;
    /** Returns `true` whether the target element (`<Popover.Trigger/>`) exists */
    isTriggerElementExists: () => boolean;
    /** Returns `true` whether the content element (`<Popover.Content/>`) exists */
    isContentElementExists: () => boolean;
    /** Trigger `mouseEnter` on the element */
    mouseEnter: () => void | undefined;
    /** Trigger `mouseLeave` on the element */
    mouseLeave: () => void | undefined;
    /** Trigger key press on the element */
    pressKey: (key: string) => Promise<void | undefined>;
    /** Click on the element */
    click: () => void;
    /** Click outside the element */
    clickOutside: () => void;
    /** Returns the arrow offset */
    getArrowOffset: () => {
        top: any;
        left: any;
        right: any;
        bottom: any;
    };
    /** Returns the element's inline styles
     * @deprecated
     */
    inlineStyles: () => any;
    /** Returns the element's id
     * @deprecated
     */
    getElementId: () => string | undefined;
};
export type PopoverDriver = ReturnType<typeof popoverNextLegacyDriverFactory>;
//# sourceMappingURL=PopoverNext.driver.d.ts.map