import { OpenAI } from "openai";
import { ChatModelStreamEvent } from "@langchain/core/language_models/event";

//#region src/utils/responses_stream_events.d.ts
interface ConvertOpenAIResponsesStreamOptions {
  streamUsage?: boolean;
  provider?: string;
}
type RawEvent = OpenAI.Responses.ResponseStreamEvent;
declare function convertOpenAIResponsesStream(source: AsyncIterable<RawEvent>, options?: ConvertOpenAIResponsesStreamOptions): AsyncGenerator<ChatModelStreamEvent>;
//#endregion
export { ConvertOpenAIResponsesStreamOptions, convertOpenAIResponsesStream };
//# sourceMappingURL=responses_stream_events.d.ts.map