UNPKG

tlnt

Version:

TLNT - HMS-Powered Multi-Agent Platform with Government Agency Analysis, Deep Research, and Enterprise-Ready Deployment. Self-optimizing multi-domain AI agent with continuous learning and enterprise-grade performance monitoring.

23 lines 1.11 kB
import { EventEmitter } from 'events'; import { Observable } from 'rxjs'; import type { HubEvent } from '../types/index.js'; export declare class EventBus extends EventEmitter { private eventStream; private static instance; constructor(); static getInstance(): EventBus; publish(event: HubEvent): void; subscribe<T = unknown>(eventType?: string): Observable<HubEvent>; subscribeToAgentEvents(): Observable<HubEvent>; subscribeToDealEvents(): Observable<HubEvent>; subscribeToMetrics(): Observable<HubEvent>; publishAgentStarted(agentId: string, metadata?: Record<string, unknown>): void; publishAgentStopped(agentId: string, metadata?: Record<string, unknown>): void; publishDealCreated(dealId: string, deal: Record<string, unknown>): void; publishDealUpdated(dealId: string, updates: Record<string, unknown>): void; publishMetric(name: string, value: number, unit: string, tags?: Record<string, string>): void; getEventStats(): Record<string, number>; reset(): void; } export declare const eventBus: EventBus; //# sourceMappingURL=eventBus.d.ts.map