import type { OpenAIStreamEventLike } from "../types/index.js";
export declare function getStreamEndResult(event: OpenAIStreamEventLike): {
    status: 'done';
} | {
    status: 'error';
    error: Error;
};
