import { StreamingProfile } from "./types.cjs";
import * as http$1 from "node:http";

//#region src/ndjson-writer.d.ts

interface NDJSONStreamOptions {
  latency?: number;
  streamingProfile?: StreamingProfile;
  signal?: AbortSignal;
  onChunkSent?: () => void;
}
declare function writeNDJSONStream(res: http$1.ServerResponse, chunks: object[], options?: NDJSONStreamOptions): Promise<boolean>;
//# sourceMappingURL=ndjson-writer.d.ts.map

//#endregion
export { NDJSONStreamOptions, writeNDJSONStream };
//# sourceMappingURL=ndjson-writer.d.cts.map