UNPKG

automatiqal

Version:

Automate Qlik deployments, management and administration

15 lines (14 loc) 613 B
/// <reference types="node" /> import { EventEmitter } from "events"; export declare interface EventsBus { on(event: "task:result", listener: (name: string) => void): this; on(event: "runbook:result", listener: (name: string) => void): this; on(event: "runbook:log", listener: (name: string) => void): this; on(event: "error", listener: (name: string) => void): this; on(event: "debug", listener: (name: string) => void): this; emit(event: string | symbol, ...args: any[]): boolean; } export declare class EventsBus extends EventEmitter { private static instance; constructor(); }