import { Completion } from '../common/completionsAPI';
/**
 * @throws if data line cannot be parsed as JSON or if it contains an error field.
 */
export declare function jsonlStreamToCompletions(jsonlStream: AsyncIterable<string>): AsyncGenerator<Completion>;
//# sourceMappingURL=streamTransformer.d.ts.map