import State from './state'; export default class Randomizer { private dom; private originalPassChars; private state; private originalNames; private temporaryNames; /** * Constructor. */ constructor(dom: HTMLInputElement, originalPassChars: string[], state: State); /** * Randomize * * Add random characters to the "name" attribute to prevent the browser from * remembering what was submitted before. */ randomize(): void; /** * Restore * * Remove random characters from the "name" attribute, allowing correct data submission. * Restore the password from asterisks to the original input. */ restore(): void; }