/**
 * This takes the partialObjectStream from an LLM streaming response.
 *
 * Note that this streams in multiple operations in the operations array, and this will be called with chunks like this:
 *
 * {operations: [op1, op2partial]}
 * {operations: [op1, op2complete, op3, op4]}
 *
 * This function transforms it into a stream of new or updated operations, so the output would be like this:
 *
 * {newOrUpdatedOperations: [op1, op2partial]}
 * {newOrUpdatedOperations: [op2complete, op3, op4]}
 */
export declare function filterNewOrUpdatedOperations(partialObjectStream: AsyncIterable<{
    operations?: any[];
}>, metadata: any): AsyncGenerator<{
    partialOperation: any;
    isUpdateToPreviousOperation: boolean;
    isPossiblyPartial: boolean;
    metadata: any;
}>;
