import { KeyCode } from '@terminus/ngx-tools/keycodes';
/**
 * Shorthand to dispatch a keyboard event with a specified key code
 *
 * @param node - The Node that should dispatch the keyboard event
 * @param type - The event type
 * @param key - The KeycodesConst type (contains code and keyCode)
 * @param target - The target event element
 * @returns The keyboard event
 *
 * @example
 * dispatchKeyboardEvent(myNativeElement, 'keyup', ENTER);
 * dispatchKeyboardEvent(myNativeElement, 'keyup', ENTER, myTargetElement);
 */
export declare const dispatchKeyboardEvent: (node: Node, type: string, key: KeyCode, target?: Element) => KeyboardEvent;
