declare module 'mousetrap' { type Pattern = string | string[]; export function bind(pattern: Pattern, callback: () => void, eventName?: string): void; export function unbind(pattern: Pattern, eventName?: string): void; }