import type { IncomingMessage } from 'node:http'; import type { Duplex } from 'node:stream'; import type { DshAccountSessions } from './account-sessions.js'; /** Multiplex native subscription pulls outside the browser's HTTP/1 connection pool. */ export declare class DshNativeSocket { private readonly directory; private readonly port; private readonly allowNonLoopback; private readonly server; private readonly waiting; private readonly heartbeat; private pending; constructor(directory: () => DshAccountSessions | undefined, port: number, allowNonLoopback?: boolean); readonly handler: (req: IncomingMessage, socket: Duplex, head: Buffer) => void; close(): void; } //# sourceMappingURL=native-socket.d.ts.map