UNPKG

streamdeck-typescript

Version:

This library will help you build elgato stream deck plugins in typescript

11 lines (10 loc) 562 B
import { PossibleEventsToReceive } from '../interfaces/types'; export declare class EventManager { private static _INSTANCE; private registeredEvents; private constructor(); static get INSTANCE(): EventManager; static DefaultDecoratorEventListener(event: string, target: any, propertyKey: string | symbol, descriptor: TypedPropertyDescriptor<any>): TypedPropertyDescriptor<any>; registerEvent(eventName: string, callback: Function): void; callEvents(eventName: PossibleEventsToReceive, actionName?: string, ...params: any[]): void; }