import 'codeceptjs'; import { Helper } from 'codeceptjs'; /** * Screenshot Component */ export declare class Screenshot extends Helper { /** * The element is used to take a screenshot of particular element in DOM and saves it with ".png" extension * @param {string} selector * @param {string} filename * */ static saveElementScreenshot(selector: string, filename: string): Promise; /** * This method is used to attched screenshot in allure report * * ```js * await Screenshot.attachScreenShotInAllure(); * ``` */ static attachScreenShotInAllure(): Promise; }