UNPKG

hypershield

Version:

Middleware suite for high-performance and resilient APIs

10 lines 404 B
import { AlertOptions, AlertSeverity } from '../domain/alert'; export declare class AlertService { private options; private throttleMap; constructor(options: AlertOptions); alert(severity: AlertSeverity, message: string, source: string, metadata?: Record<string, unknown>): Promise<void>; private shouldThrottle; private sendWithRetry; } //# sourceMappingURL=alertService.d.ts.map