import { type Socket } from "node:net"; /** * Lifecycle owner for local RPC follower sockets. A disconnected follower is * dropped instead of crashing the daemon: readline re-emits asynchronous * socket write failures (such as EPIPE) on its Interface, so the Interface * and the socket share one cleanup, and sends skip sockets that can no * longer receive. */ export declare class RpcFollowers { private readonly sockets; attach(sock: Socket, onLine: (line: string) => void): void; send(sock: Socket, obj: unknown): void; /** Destroy every follower so server.close() cannot hang on live sockets. */ destroyAll(): void; private drop; } //# sourceMappingURL=rpc-followers.d.ts.map