import { Actor } from '@testla/screenplay'; import { Selector, SelectorOptions } from '../types'; import { FrameEnabledAction } from '../templates/FrameEnabledAction'; /** * Action Class. Hover over an element specified by a selector string. */ export declare class Hover extends FrameEnabledAction { private selector; private options?; private constructor(); /** * find the specified selector and hover over it. * * @param {Actor} actor Actor performing this action * @return {void} Returns when hovered over the element */ performAs(actor: Actor): Promise; /** * Specify which selector should be hovered over * * @param {Selector} selector The selector that should be hovered over. * @param {SelectorOptions} options (optional) advanced selector lookup options + Modifier keys to press. Ensures that only these modifiers are pressed during the operation. * @return {Hover} new Hover instance */ static over(selector: Selector, options?: SelectorOptions & { modifiers?: ('Alt' | 'Control' | 'Meta' | 'Shift')[]; }): Hover; }