import { Helper } from 'codeceptjs'; /** Workflow class */ export declare class DragAndDrop extends Helper { /** * This function perform drag and drop operation on an element. * * ```js * DragAndDrop.performDragAndDrop("Charged Amount","//dew-container"); * ``` * * @param {String} srcField Name of Label need to be drag * @param {String} destinationContainer destination location | located by xapth|CSS */ static performDragAndDrop(srcField: string, destinationContainer: string): Promise; /** * This function perform drag and drop operation on html5 element. * * ```js * DragAndDrop.html5DragAndDrop("Charged Amount","//dew-container"); * ``` * * @param {String} srcField Name of Label need to be drag * @param {String} destinationContainer destination location | located by xapth|CSS */ static html5DragAndDrop(srcField: string, destinationContainer: string): Promise; /** * * Perform Drag Operation and verify if element is present in UI * * ```js * await DragAndDrop.dragAndVerifyElement(`//span[contains(text(),'Supplier Awarded Cost')]`, `//dew-report-to-chart-view//pa-chart//div[contains(@class,"measure-wrapper")]//div[contains(@class,'valid-drop-area')]`); * ``` * @param {string}elementToDrag * @param {string}elementToVerify */ static dragAndVerifyElement(elementToDrag: string, elementToVerify: string): Promise; }