import { Actor } from '@testla/screenplay'; import { Selector, SelectorOptions } from '../types'; import { FrameEnabledAction } from '../templates/FrameEnabledAction'; /** * Action Class. DragAndDrop an element specified by a selector string and drop it on an element specified by another * selector string. */ export declare class DragAndDrop extends FrameEnabledAction { private sourceSelector; private targetSelector; private options?; private constructor(); /** * drag the specified selector and drop it on the target. * @param {Actor} actor Actor performing this action * @return {void} Returns after dragging the locator to another target locator or target position */ performAs(actor: Actor): Promise; /** * Drag the specified source element to the specified target element and drop it. * * @param {Selector} sourceSelector the selector of the source element. * @param {Selector} targetSelector the selector of the target element. * @param {SelectorOptions} options (optional) advanced selector lookup options. * @return {DragAndDrop} new DragAndDrop instance */ static execute(sourceSelector: Selector, targetSelector: Selector, options?: { source?: SelectorOptions; target?: SelectorOptions; }): DragAndDrop; }