import type { LlmTokenUsage } from "../../types.js";
export declare function parseOpenAiSseJsonStream(body: ReadableStream<Uint8Array>): AsyncGenerator<Record<string, unknown>>;
export declare function createOpenAiSseError(event: Record<string, unknown>): Error;
export declare function createDeferredUsage(): {
    promise: Promise<LlmTokenUsage | null>;
    resolve: (value: LlmTokenUsage | null) => void;
};
