import type { IncomingMessage } from 'node:http'; import type { Duplex } from 'node:stream'; import type { ArkmeService } from './arkme-service.js'; /** Host-owned, receive-only event transport; no business commands or credentials. */ export declare class ArkmeRealtimeEvents { private readonly service; private readonly options; private readonly server; private readonly awaitingPong; private readonly unsubscribe; private readonly heartbeat; private closed; constructor(service: ArkmeService, options: { expectedPort: number; allowNonLoopback: boolean; }); readonly handler: (req: IncomingMessage, socket: Duplex, head: Buffer) => void; close(): void; private allowed; } //# sourceMappingURL=realtime-events.d.ts.map