/**
 * Newline-delimited JSON framing.
 *
 * Ollama streams one JSON object per line (`\n`-separated), not SSE. This
 * decodes such a body into a stream of parsed values: split on LF, trim a
 * trailing CR (tolerating CRLF), skip blank lines, and `JSON.parse` each line.
 */
/**
 * Decode an NDJSON response body into a stream of parsed JSON values.
 *
 * Each yielded value is typed `unknown`; callers narrow it against the
 * provider's documented per-line shape.
 *
 * @param body   The response's byte stream.
 * @param signal Optional abort signal; aborting stops iteration promptly.
 */
export declare function ndjsonLines(body: ReadableStream<Uint8Array>, signal?: AbortSignal): AsyncGenerator<unknown>;
