/** * S2S HTTP/2 transport for Node.js * Uses the s2s binary protocol over HTTP/2 for efficient streaming * * This file should only be imported in Node.js environments */ import type { S2RequestOptions } from "../../../../common.js"; import type { AppendSession, AppendSessionOptions, ReadArgs, ReadSession, SessionTransport, TransportConfig } from "../../types.js"; export declare class S2STransport implements SessionTransport { private readonly transportConfig; private readonly compression; private connection?; private connectionPromise?; private closingPromise?; constructor(config: TransportConfig); makeAppendSession(stream: string, sessionOptions?: AppendSessionOptions, requestOptions?: S2RequestOptions): Promise; makeReadSession(stream: string, args?: ReadArgs, options?: S2RequestOptions): Promise>; /** * Get or create HTTP/2 connection (one per transport) */ private getConnection; private createConnection; close(): Promise; } //# sourceMappingURL=index.d.ts.map