UNPKG

@iota-big3/sdk-security

Version:

Advanced security features including zero trust, quantum-safe crypto, and ML threat detection

24 lines 677 B
/** * Event Bus Contract for SDK Security * Defines the interface that sdk-security expects from an event bus integration */ export interface SecurityEventBusContract { /** * Emit an event with data * Security expects synchronous emission (void return) */ emit(event: string, data: unknown): void; /** * Listen for events */ on(event: string, handler: (data: unknown) => void): void; /** * Remove event listener */ off?(event: string, handler: (data: unknown) => void): void; /** * Initialize the event bus if needed */ initialize?(): Promise<void>; } //# sourceMappingURL=events.contract.d.ts.map