/** * Focuses an input or textarea, sets its value and dispatches * the `input` or `textarea` event, simulating the user typing. * @param value Value to be set on the input. * @param element Element onto which to set the value. * * typeInElement('al', input); */ export declare function typeInElement(value: string, element: HTMLElement | Document | Window): void;