You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
722 B
19 lines
722 B
2 years ago
|
import { keyboardState, keyboardOptions, keyboardKey } from './types';
|
||
|
export { specialCharMap } from './specialCharMap';
|
||
|
export type { keyboardOptions, keyboardKey };
|
||
|
export declare function keyboard(text: string, options?: Partial<keyboardOptions & {
|
||
|
keyboardState: keyboardState;
|
||
|
delay: 0;
|
||
|
}>): keyboardState;
|
||
|
export declare function keyboard(text: string, options: Partial<keyboardOptions & {
|
||
|
keyboardState: keyboardState;
|
||
|
delay: number;
|
||
|
}>): Promise<keyboardState>;
|
||
|
export declare function keyboardImplementationWrapper(text: string, config?: Partial<keyboardOptions & {
|
||
|
keyboardState: keyboardState;
|
||
|
}>): {
|
||
|
promise: Promise<void>;
|
||
|
state: keyboardState;
|
||
|
releaseAllKeys: () => void;
|
||
|
};
|