package.dist.keyboard.index.d.ts Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of user-event Show documentation
Show all versions of user-event Show documentation
Fire events the same way the user does
The newest version!
import { keyboardState, keyboardOptions, keyboardKey } from './types';
export { specialCharMap } from './specialCharMap';
export type { keyboardOptions, keyboardKey };
export declare function keyboard(text: string, options?: Partial): keyboardState;
export declare function keyboard(text: string, options: Partial): Promise;
export declare function keyboardImplementationWrapper(text: string, config?: Partial): {
promise: Promise;
state: keyboardState;
releaseAllKeys: () => void;
};