import { Action, Actor } from '@testla/screenplay'; /** * Action Class. Set either Session Storage Items or Local Storage Items on the Browser. */ export declare class Set extends Action { private mode; private payload?; private constructor(); /** * set the specified storage item. * * @param {Actor} actor Actor performing this action * @return {any} Returns the value of the `pageFunction` invocation. */ performAs(actor: Actor): Promise; /** * Set a session storage item identified by the given key + value, creating a new key/value pair if none existed for key previously. * * @param {string} key the key that specifies the item. * @param {any} value the value of the item. * @return {Set} new Set instance for session storage */ static sessionStorageItem(key: string, value: any): Set; /** * Set a local storage item identified by the given key + value, creating a new key/value pair if none existed for key previously. * * @param {string} key the key that specifies the item. * @param {any} value the value of the item. * @return {Set} new Set instance for local storage. */ static localStorageItem(key: string, value: any): Set; }