declare function keyCode(name: string): number; declare function keyCode(code: number): string; export = keyCode;