export declare const networkStreamFixture: ({
    type: string;
    payload: {
        networkId: string;
        agentId: string;
        runId: string;
        inputData: {
            task: string;
            primitiveId: string;
            primitiveType: string;
            iteration: number;
            threadResourceId: string;
            threadId: string;
            isOneOff: boolean;
            verboseIntrospection: boolean;
            isComplete?: undefined;
            result?: undefined;
        };
        task?: undefined;
        result?: undefined;
        primitiveId?: undefined;
        primitiveType?: undefined;
        prompt?: undefined;
        isComplete?: undefined;
        selectionReason?: undefined;
        iteration?: undefined;
        usage?: undefined;
        args?: undefined;
        type?: undefined;
        from?: undefined;
        payload?: undefined;
        data?: undefined;
        workflowId?: undefined;
        id?: undefined;
        name?: undefined;
        toolCallId?: undefined;
        toolName?: undefined;
        text?: undefined;
        isOneOff?: undefined;
        threadId?: undefined;
        threadResourceId?: undefined;
    };
    runId: string;
    from: string;
} | {
    type: string;
    payload: {
        task: string;
        result: string;
        primitiveId: string;
        primitiveType: string;
        prompt: string;
        isComplete: boolean;
        selectionReason: string;
        iteration: number;
        runId: string;
        usage: {
            inputTokens: number;
            outputTokens: number;
            totalTokens: number;
            reasoningTokens: number;
            cachedInputTokens: number;
        };
        networkId?: undefined;
        agentId?: undefined;
        inputData?: undefined;
        args?: undefined;
        type?: undefined;
        from?: undefined;
        payload?: undefined;
        data?: undefined;
        workflowId?: undefined;
        id?: undefined;
        name?: undefined;
        toolCallId?: undefined;
        toolName?: undefined;
        text?: undefined;
        isOneOff?: undefined;
        threadId?: undefined;
        threadResourceId?: undefined;
    };
    from: string;
    runId: string;
} | {
    type: string;
    payload: {
        agentId: string;
        args: {
            task: string;
            result: string;
            primitiveId: string;
            primitiveType: string;
            prompt: string;
            isComplete: boolean;
            selectionReason: string;
            iteration: number;
            runId: string;
            args?: undefined;
            toolName?: undefined;
            toolCallId?: undefined;
        };
        runId: string;
        networkId?: undefined;
        inputData?: undefined;
        task?: undefined;
        result?: undefined;
        primitiveId?: undefined;
        primitiveType?: undefined;
        prompt?: undefined;
        isComplete?: undefined;
        selectionReason?: undefined;
        iteration?: undefined;
        usage?: undefined;
        type?: undefined;
        from?: undefined;
        payload?: undefined;
        data?: undefined;
        workflowId?: undefined;
        id?: undefined;
        name?: undefined;
        toolCallId?: undefined;
        toolName?: undefined;
        text?: undefined;
        isOneOff?: undefined;
        threadId?: undefined;
        threadResourceId?: undefined;
    };
    from: string;
    runId: string;
} | {
    type: string;
    payload: {
        type: string;
        runId: string;
        from: string;
        payload: {
            id: string;
            toolCallId?: undefined;
            toolName?: undefined;
            argsTextDelta?: undefined;
            args?: undefined;
            providerMetadata?: undefined;
            result?: undefined;
            messageId?: undefined;
            stepResult?: undefined;
            metadata?: undefined;
            output?: undefined;
            messages?: undefined;
            request?: undefined;
            warnings?: undefined;
            text?: undefined;
            type?: undefined;
            workflowId?: undefined;
            stepName?: undefined;
            stepCallId?: undefined;
            payload?: undefined;
            startedAt?: undefined;
            status?: undefined;
            endedAt?: undefined;
            workflowStatus?: undefined;
        };
        networkId?: undefined;
        agentId?: undefined;
        inputData?: undefined;
        task?: undefined;
        result?: undefined;
        primitiveId?: undefined;
        primitiveType?: undefined;
        prompt?: undefined;
        isComplete?: undefined;
        selectionReason?: undefined;
        iteration?: undefined;
        usage?: undefined;
        args?: undefined;
        data?: undefined;
        workflowId?: undefined;
        id?: undefined;
        name?: undefined;
        toolCallId?: undefined;
        toolName?: undefined;
        text?: undefined;
        isOneOff?: undefined;
        threadId?: undefined;
        threadResourceId?: undefined;
    };
    from: string;
    runId: string;
} | {
    type: string;
    payload: {
        type: string;
        runId: string;
        from: string;
        payload: {
            toolCallId: string;
            toolName: string;
            id?: undefined;
            argsTextDelta?: undefined;
            args?: undefined;
            providerMetadata?: undefined;
            result?: undefined;
            messageId?: undefined;
            stepResult?: undefined;
            metadata?: undefined;
            output?: undefined;
            messages?: undefined;
            request?: undefined;
            warnings?: undefined;
            text?: undefined;
            type?: undefined;
            workflowId?: undefined;
            stepName?: undefined;
            stepCallId?: undefined;
            payload?: undefined;
            startedAt?: undefined;
            status?: undefined;
            endedAt?: undefined;
            workflowStatus?: undefined;
        };
        networkId?: undefined;
        agentId?: undefined;
        inputData?: undefined;
        task?: undefined;
        result?: undefined;
        primitiveId?: undefined;
        primitiveType?: undefined;
        prompt?: undefined;
        isComplete?: undefined;
        selectionReason?: undefined;
        iteration?: undefined;
        usage?: undefined;
        args?: undefined;
        data?: undefined;
        workflowId?: undefined;
        id?: undefined;
        name?: undefined;
        toolCallId?: undefined;
        toolName?: undefined;
        text?: undefined;
        isOneOff?: undefined;
        threadId?: undefined;
        threadResourceId?: undefined;
    };
    from: string;
    runId: string;
} | {
    type: string;
    payload: {
        type: string;
        runId: string;
        from: string;
        payload: {
            argsTextDelta: string;
            toolCallId: string;
            toolName: string;
            id?: undefined;
            args?: undefined;
            providerMetadata?: undefined;
            result?: undefined;
            messageId?: undefined;
            stepResult?: undefined;
            metadata?: undefined;
            output?: undefined;
            messages?: undefined;
            request?: undefined;
            warnings?: undefined;
            text?: undefined;
            type?: undefined;
            workflowId?: undefined;
            stepName?: undefined;
            stepCallId?: undefined;
            payload?: undefined;
            startedAt?: undefined;
            status?: undefined;
            endedAt?: undefined;
            workflowStatus?: undefined;
        };
        networkId?: undefined;
        agentId?: undefined;
        inputData?: undefined;
        task?: undefined;
        result?: undefined;
        primitiveId?: undefined;
        primitiveType?: undefined;
        prompt?: undefined;
        isComplete?: undefined;
        selectionReason?: undefined;
        iteration?: undefined;
        usage?: undefined;
        args?: undefined;
        data?: undefined;
        workflowId?: undefined;
        id?: undefined;
        name?: undefined;
        toolCallId?: undefined;
        toolName?: undefined;
        text?: undefined;
        isOneOff?: undefined;
        threadId?: undefined;
        threadResourceId?: undefined;
    };
    from: string;
    runId: string;
} | {
    type: string;
    payload: {
        type: string;
        runId: string;
        from: string;
        payload: {
            toolCallId: string;
            id?: undefined;
            toolName?: undefined;
            argsTextDelta?: undefined;
            args?: undefined;
            providerMetadata?: undefined;
            result?: undefined;
            messageId?: undefined;
            stepResult?: undefined;
            metadata?: undefined;
            output?: undefined;
            messages?: undefined;
            request?: undefined;
            warnings?: undefined;
            text?: undefined;
            type?: undefined;
            workflowId?: undefined;
            stepName?: undefined;
            stepCallId?: undefined;
            payload?: undefined;
            startedAt?: undefined;
            status?: undefined;
            endedAt?: undefined;
            workflowStatus?: undefined;
        };
        networkId?: undefined;
        agentId?: undefined;
        inputData?: undefined;
        task?: undefined;
        result?: undefined;
        primitiveId?: undefined;
        primitiveType?: undefined;
        prompt?: undefined;
        isComplete?: undefined;
        selectionReason?: undefined;
        iteration?: undefined;
        usage?: undefined;
        args?: undefined;
        data?: undefined;
        workflowId?: undefined;
        id?: undefined;
        name?: undefined;
        toolCallId?: undefined;
        toolName?: undefined;
        text?: undefined;
        isOneOff?: undefined;
        threadId?: undefined;
        threadResourceId?: undefined;
    };
    from: string;
    runId: string;
} | {
    type: string;
    payload: {
        type: string;
        runId: string;
        from: string;
        payload: {
            toolCallId: string;
            toolName: string;
            args: {
                name: string;
                description: string;
            };
            providerMetadata: {
                openai: {
                    itemId: string;
                };
            };
            id?: undefined;
            argsTextDelta?: undefined;
            result?: undefined;
            messageId?: undefined;
            stepResult?: undefined;
            metadata?: undefined;
            output?: undefined;
            messages?: undefined;
            request?: undefined;
            warnings?: undefined;
            text?: undefined;
            type?: undefined;
            workflowId?: undefined;
            stepName?: undefined;
            stepCallId?: undefined;
            payload?: undefined;
            startedAt?: undefined;
            status?: undefined;
            endedAt?: undefined;
            workflowStatus?: undefined;
        };
        networkId?: undefined;
        agentId?: undefined;
        inputData?: undefined;
        task?: undefined;
        result?: undefined;
        primitiveId?: undefined;
        primitiveType?: undefined;
        prompt?: undefined;
        isComplete?: undefined;
        selectionReason?: undefined;
        iteration?: undefined;
        usage?: undefined;
        args?: undefined;
        data?: undefined;
        workflowId?: undefined;
        id?: undefined;
        name?: undefined;
        toolCallId?: undefined;
        toolName?: undefined;
        text?: undefined;
        isOneOff?: undefined;
        threadId?: undefined;
        threadResourceId?: undefined;
    };
    from: string;
    runId: string;
} | {
    type: string;
    payload: {
        type: string;
        data: {
            name: string;
            description: string;
        };
        runId: string;
        networkId?: undefined;
        agentId?: undefined;
        inputData?: undefined;
        task?: undefined;
        result?: undefined;
        primitiveId?: undefined;
        primitiveType?: undefined;
        prompt?: undefined;
        isComplete?: undefined;
        selectionReason?: undefined;
        iteration?: undefined;
        usage?: undefined;
        args?: undefined;
        from?: undefined;
        payload?: undefined;
        workflowId?: undefined;
        id?: undefined;
        name?: undefined;
        toolCallId?: undefined;
        toolName?: undefined;
        text?: undefined;
        isOneOff?: undefined;
        threadId?: undefined;
        threadResourceId?: undefined;
    };
    from: string;
    runId: string;
} | {
    type: string;
    payload: {
        type: string;
        runId: string;
        from: string;
        payload: {
            args: {
                name: string;
                description: string;
            };
            toolCallId: string;
            toolName: string;
            result: {
                inStock: boolean;
                quantity: number;
            };
            providerMetadata: {
                openai: {
                    itemId: string;
                };
            };
            id?: undefined;
            argsTextDelta?: undefined;
            messageId?: undefined;
            stepResult?: undefined;
            metadata?: undefined;
            output?: undefined;
            messages?: undefined;
            request?: undefined;
            warnings?: undefined;
            text?: undefined;
            type?: undefined;
            workflowId?: undefined;
            stepName?: undefined;
            stepCallId?: undefined;
            payload?: undefined;
            startedAt?: undefined;
            status?: undefined;
            endedAt?: undefined;
            workflowStatus?: undefined;
        };
        networkId?: undefined;
        agentId?: undefined;
        inputData?: undefined;
        task?: undefined;
        result?: undefined;
        primitiveId?: undefined;
        primitiveType?: undefined;
        prompt?: undefined;
        isComplete?: undefined;
        selectionReason?: undefined;
        iteration?: undefined;
        usage?: undefined;
        args?: undefined;
        data?: undefined;
        workflowId?: undefined;
        id?: undefined;
        name?: undefined;
        toolCallId?: undefined;
        toolName?: undefined;
        text?: undefined;
        isOneOff?: undefined;
        threadId?: undefined;
        threadResourceId?: undefined;
    };
    from: string;
    runId: string;
} | {
    type: string;
    payload: {
        type: string;
        runId: string;
        from: string;
        payload: {
            messageId: string;
            stepResult: {
                reason: string;
                isContinued: boolean;
            };
            metadata: {
                providerMetadata: {
                    openai: {
                        responseId: string;
                        serviceTier: string;
                    };
                };
                id: string;
                timestamp: string;
                modelId: string;
                headers: {
                    'alt-svc': string;
                    'cf-cache-status': string;
                    'cf-ray': string;
                    connection: string;
                    'content-type': string;
                    date: string;
                    'openai-organization': string;
                    'openai-processing-ms': string;
                    'openai-project': string;
                    'openai-version': string;
                    server: string;
                    'set-cookie': string;
                    'strict-transport-security': string;
                    'transfer-encoding': string;
                    'x-content-type-options': string;
                    'x-envoy-upstream-service-time': string;
                    'x-request-id': string;
                };
                modelMetadata: {
                    modelId: string;
                    modelVersion: string;
                    modelProvider: string;
                };
                request: {
                    body: {
                        model: string;
                        input: ({
                            role: string;
                            content: string;
                        } | {
                            role: string;
                            content: {
                                type: string;
                                text: string;
                            }[];
                        })[];
                        temperature: number;
                        tools: {
                            type: string;
                            name: string;
                            description: string;
                            parameters: {
                                type: string;
                                properties: {
                                    name: {
                                        type: string;
                                    };
                                    description: {
                                        type: string;
                                    };
                                };
                                required: string[];
                                additionalProperties: boolean;
                                $schema: string;
                            };
                            strict: boolean;
                        }[];
                        tool_choice: string;
                    };
                };
            };
            output: {
                text: string;
                toolCalls: {
                    toolCallId: string;
                    toolName: string;
                    args: {
                        name: string;
                        description: string;
                    };
                    providerMetadata: {
                        openai: {
                            itemId: string;
                        };
                    };
                }[];
                usage: {
                    inputTokens: number;
                    outputTokens: number;
                    totalTokens: number;
                    reasoningTokens: number;
                    cachedInputTokens: number;
                };
                steps: {
                    content: never[];
                    usage: {
                        inputTokens: number;
                        outputTokens: number;
                        totalTokens: number;
                        reasoningTokens: number;
                        cachedInputTokens: number;
                    };
                    warnings: never[];
                    request: {
                        body: {
                            model: string;
                            input: ({
                                role: string;
                                content: string;
                                type?: undefined;
                                call_id?: undefined;
                                name?: undefined;
                                arguments?: undefined;
                                output?: undefined;
                            } | {
                                role: string;
                                content: {
                                    type: string;
                                    text: string;
                                }[];
                                type?: undefined;
                                call_id?: undefined;
                                name?: undefined;
                                arguments?: undefined;
                                output?: undefined;
                            } | {
                                type: string;
                                call_id: string;
                                name: string;
                                arguments: string;
                                role?: undefined;
                                content?: undefined;
                                output?: undefined;
                            } | {
                                type: string;
                                call_id: string;
                                output: string;
                                role?: undefined;
                                content?: undefined;
                                name?: undefined;
                                arguments?: undefined;
                            })[];
                            temperature: number;
                            tools: {
                                type: string;
                                name: string;
                                description: string;
                                parameters: {
                                    type: string;
                                    properties: {
                                        name: {
                                            type: string;
                                        };
                                        description: {
                                            type: string;
                                        };
                                    };
                                    required: string[];
                                    additionalProperties: boolean;
                                    $schema: string;
                                };
                                strict: boolean;
                            }[];
                            tool_choice: string;
                        };
                    };
                    response: {
                        id: string;
                        timestamp: string;
                        modelId: string;
                        headers: {
                            'alt-svc': string;
                            'cf-cache-status': string;
                            'cf-ray': string;
                            connection: string;
                            'content-type': string;
                            date: string;
                            'openai-organization': string;
                            'openai-processing-ms': string;
                            'openai-project': string;
                            'openai-version': string;
                            server: string;
                            'set-cookie': string;
                            'strict-transport-security': string;
                            'transfer-encoding': string;
                            'x-content-type-options': string;
                            'x-envoy-upstream-service-time': string;
                            'x-request-id': string;
                        };
                        messages: ({
                            role: string;
                            content: {
                                type: string;
                                toolCallId: string;
                                toolName: string;
                                input: {
                                    name: string;
                                    description: string;
                                };
                            }[];
                        } | {
                            role: string;
                            content: {
                                type: string;
                                toolCallId: string;
                                toolName: string;
                                output: {
                                    type: string;
                                    value: {
                                        inStock: boolean;
                                        quantity: number;
                                    };
                                };
                            }[];
                        } | {
                            role: string;
                            content: {
                                type: string;
                                text: string;
                            }[];
                        })[];
                    };
                    providerMetadata: {
                        openai: {
                            responseId: string;
                            serviceTier: string;
                        };
                    };
                }[];
                success?: undefined;
            };
            messages: {
                all: ({
                    role: string;
                    content: {
                        type: string;
                        text: string;
                    }[];
                } | {
                    role: string;
                    content: {
                        type: string;
                        toolCallId: string;
                        toolName: string;
                        input: {
                            name: string;
                            description: string;
                        };
                    }[];
                } | {
                    role: string;
                    content: {
                        type: string;
                        toolCallId: string;
                        toolName: string;
                        output: {
                            type: string;
                            value: {
                                inStock: boolean;
                                quantity: number;
                            };
                        };
                    }[];
                })[];
                user: {
                    role: string;
                    content: {
                        type: string;
                        text: string;
                    }[];
                }[];
                nonUser: ({
                    role: string;
                    content: {
                        type: string;
                        toolCallId: string;
                        toolName: string;
                        input: {
                            name: string;
                            description: string;
                        };
                    }[];
                } | {
                    role: string;
                    content: {
                        type: string;
                        toolCallId: string;
                        toolName: string;
                        output: {
                            type: string;
                            value: {
                                inStock: boolean;
                                quantity: number;
                            };
                        };
                    }[];
                })[];
            };
            id?: undefined;
            toolCallId?: undefined;
            toolName?: undefined;
            argsTextDelta?: undefined;
            args?: undefined;
            providerMetadata?: undefined;
            result?: undefined;
            request?: undefined;
            warnings?: undefined;
            text?: undefined;
            type?: undefined;
            workflowId?: undefined;
            stepName?: undefined;
            stepCallId?: undefined;
            payload?: undefined;
            startedAt?: undefined;
            status?: undefined;
            endedAt?: undefined;
            workflowStatus?: undefined;
        };
        networkId?: undefined;
        agentId?: undefined;
        inputData?: undefined;
        task?: undefined;
        result?: undefined;
        primitiveId?: undefined;
        primitiveType?: undefined;
        prompt?: undefined;
        isComplete?: undefined;
        selectionReason?: undefined;
        iteration?: undefined;
        usage?: undefined;
        args?: undefined;
        data?: undefined;
        workflowId?: undefined;
        id?: undefined;
        name?: undefined;
        toolCallId?: undefined;
        toolName?: undefined;
        text?: undefined;
        isOneOff?: undefined;
        threadId?: undefined;
        threadResourceId?: undefined;
    };
    from: string;
    runId: string;
} | {
    type: string;
    payload: {
        runId: string;
        from: string;
        type: string;
        payload: {
            request: {
                body: {
                    model: string;
                    input: ({
                        role: string;
                        content: string;
                        type?: undefined;
                        call_id?: undefined;
                        name?: undefined;
                        arguments?: undefined;
                        output?: undefined;
                    } | {
                        role: string;
                        content: {
                            type: string;
                            text: string;
                        }[];
                        type?: undefined;
                        call_id?: undefined;
                        name?: undefined;
                        arguments?: undefined;
                        output?: undefined;
                    } | {
                        type: string;
                        call_id: string;
                        name: string;
                        arguments: string;
                        role?: undefined;
                        content?: undefined;
                        output?: undefined;
                    } | {
                        type: string;
                        call_id: string;
                        output: string;
                        role?: undefined;
                        content?: undefined;
                        name?: undefined;
                        arguments?: undefined;
                    })[];
                    temperature: number;
                    tools: {
                        type: string;
                        name: string;
                        description: string;
                        parameters: {
                            type: string;
                            properties: {
                                name: {
                                    type: string;
                                };
                                description: {
                                    type: string;
                                };
                            };
                            required: string[];
                            additionalProperties: boolean;
                            $schema: string;
                        };
                        strict: boolean;
                    }[];
                    tool_choice: string;
                };
            };
            warnings: never[];
            messageId: string;
            id?: undefined;
            toolCallId?: undefined;
            toolName?: undefined;
            argsTextDelta?: undefined;
            args?: undefined;
            providerMetadata?: undefined;
            result?: undefined;
            stepResult?: undefined;
            metadata?: undefined;
            output?: undefined;
            messages?: undefined;
            text?: undefined;
            type?: undefined;
            workflowId?: undefined;
            stepName?: undefined;
            stepCallId?: undefined;
            payload?: undefined;
            startedAt?: undefined;
            status?: undefined;
            endedAt?: undefined;
            workflowStatus?: undefined;
        };
        networkId?: undefined;
        agentId?: undefined;
        inputData?: undefined;
        task?: undefined;
        result?: undefined;
        primitiveId?: undefined;
        primitiveType?: undefined;
        prompt?: undefined;
        isComplete?: undefined;
        selectionReason?: undefined;
        iteration?: undefined;
        usage?: undefined;
        args?: undefined;
        data?: undefined;
        workflowId?: undefined;
        id?: undefined;
        name?: undefined;
        toolCallId?: undefined;
        toolName?: undefined;
        text?: undefined;
        isOneOff?: undefined;
        threadId?: undefined;
        threadResourceId?: undefined;
    };
    from: string;
    runId: string;
} | {
    type: string;
    payload: {
        type: string;
        runId: string;
        from: string;
        payload: {
            id: string;
            providerMetadata: {
                openai: {
                    itemId: string;
                };
            };
            toolCallId?: undefined;
            toolName?: undefined;
            argsTextDelta?: undefined;
            args?: undefined;
            result?: undefined;
            messageId?: undefined;
            stepResult?: undefined;
            metadata?: undefined;
            output?: undefined;
            messages?: undefined;
            request?: undefined;
            warnings?: undefined;
            text?: undefined;
            type?: undefined;
            workflowId?: undefined;
            stepName?: undefined;
            stepCallId?: undefined;
            payload?: undefined;
            startedAt?: undefined;
            status?: undefined;
            endedAt?: undefined;
            workflowStatus?: undefined;
        };
        networkId?: undefined;
        agentId?: undefined;
        inputData?: undefined;
        task?: undefined;
        result?: undefined;
        primitiveId?: undefined;
        primitiveType?: undefined;
        prompt?: undefined;
        isComplete?: undefined;
        selectionReason?: undefined;
        iteration?: undefined;
        usage?: undefined;
        args?: undefined;
        data?: undefined;
        workflowId?: undefined;
        id?: undefined;
        name?: undefined;
        toolCallId?: undefined;
        toolName?: undefined;
        text?: undefined;
        isOneOff?: undefined;
        threadId?: undefined;
        threadResourceId?: undefined;
    };
    from: string;
    runId: string;
} | {
    type: string;
    payload: {
        type: string;
        runId: string;
        from: string;
        payload: {
            id: string;
            text: string;
            toolCallId?: undefined;
            toolName?: undefined;
            argsTextDelta?: undefined;
            args?: undefined;
            providerMetadata?: undefined;
            result?: undefined;
            messageId?: undefined;
            stepResult?: undefined;
            metadata?: undefined;
            output?: undefined;
            messages?: undefined;
            request?: undefined;
            warnings?: undefined;
            type?: undefined;
            workflowId?: undefined;
            stepName?: undefined;
            stepCallId?: undefined;
            payload?: undefined;
            startedAt?: undefined;
            status?: undefined;
            endedAt?: undefined;
            workflowStatus?: undefined;
        };
        networkId?: undefined;
        agentId?: undefined;
        inputData?: undefined;
        task?: undefined;
        result?: undefined;
        primitiveId?: undefined;
        primitiveType?: undefined;
        prompt?: undefined;
        isComplete?: undefined;
        selectionReason?: undefined;
        iteration?: undefined;
        usage?: undefined;
        args?: undefined;
        data?: undefined;
        workflowId?: undefined;
        id?: undefined;
        name?: undefined;
        toolCallId?: undefined;
        toolName?: undefined;
        text?: undefined;
        isOneOff?: undefined;
        threadId?: undefined;
        threadResourceId?: undefined;
    };
    from: string;
    runId: string;
} | {
    type: string;
    payload: {
        type: string;
        runId: string;
        from: string;
        payload: {
            type: string;
            id: string;
            toolCallId?: undefined;
            toolName?: undefined;
            argsTextDelta?: undefined;
            args?: undefined;
            providerMetadata?: undefined;
            result?: undefined;
            messageId?: undefined;
            stepResult?: undefined;
            metadata?: undefined;
            output?: undefined;
            messages?: undefined;
            request?: undefined;
            warnings?: undefined;
            text?: undefined;
            workflowId?: undefined;
            stepName?: undefined;
            stepCallId?: undefined;
            payload?: undefined;
            startedAt?: undefined;
            status?: undefined;
            endedAt?: undefined;
            workflowStatus?: undefined;
        };
        networkId?: undefined;
        agentId?: undefined;
        inputData?: undefined;
        task?: undefined;
        result?: undefined;
        primitiveId?: undefined;
        primitiveType?: undefined;
        prompt?: undefined;
        isComplete?: undefined;
        selectionReason?: undefined;
        iteration?: undefined;
        usage?: undefined;
        args?: undefined;
        data?: undefined;
        workflowId?: undefined;
        id?: undefined;
        name?: undefined;
        toolCallId?: undefined;
        toolName?: undefined;
        text?: undefined;
        isOneOff?: undefined;
        threadId?: undefined;
        threadResourceId?: undefined;
    };
    from: string;
    runId: string;
} | {
    type: string;
    payload: {
        type: string;
        runId: string;
        from: string;
        payload: {
            messageId: string;
            stepResult: {
                reason: string;
                isContinued: boolean;
            };
            metadata: {
                providerMetadata: {
                    openai: {
                        responseId: string;
                        serviceTier: string;
                    };
                };
                id: string;
                timestamp: string;
                modelId: string;
                headers: {
                    'alt-svc': string;
                    'cf-cache-status': string;
                    'cf-ray': string;
                    connection: string;
                    'content-type': string;
                    date: string;
                    'openai-organization': string;
                    'openai-processing-ms': string;
                    'openai-project': string;
                    'openai-version': string;
                    server: string;
                    'set-cookie': string;
                    'strict-transport-security': string;
                    'transfer-encoding': string;
                    'x-content-type-options': string;
                    'x-envoy-upstream-service-time': string;
                    'x-request-id': string;
                };
                modelMetadata: {
                    modelId: string;
                    modelVersion: string;
                    modelProvider: string;
                };
                request: {
                    body: {
                        model: string;
                        input: ({
                            role: string;
                            content: string;
                            type?: undefined;
                            call_id?: undefined;
                            name?: undefined;
                            arguments?: undefined;
                            output?: undefined;
                        } | {
                            role: string;
                            content: {
                                type: string;
                                text: string;
                            }[];
                            type?: undefined;
                            call_id?: undefined;
                            name?: undefined;
                            arguments?: undefined;
                            output?: undefined;
                        } | {
                            type: string;
                            call_id: string;
                            name: string;
                            arguments: string;
                            role?: undefined;
                            content?: undefined;
                            output?: undefined;
                        } | {
                            type: string;
                            call_id: string;
                            output: string;
                            role?: undefined;
                            content?: undefined;
                            name?: undefined;
                            arguments?: undefined;
                        })[];
                        temperature: number;
                        tools: {
                            type: string;
                            name: string;
                            description: string;
                            parameters: {
                                type: string;
                                properties: {
                                    name: {
                                        type: string;
                                    };
                                    description: {
                                        type: string;
                                    };
                                };
                                required: string[];
                                additionalProperties: boolean;
                                $schema: string;
                            };
                            strict: boolean;
                        }[];
                        tool_choice: string;
                    };
                };
            };
            output: {
                text: string;
                toolCalls: never[];
                usage: {
                    inputTokens: number;
                    outputTokens: number;
                    totalTokens: number;
                    reasoningTokens: number;
                    cachedInputTokens: number;
                };
                steps: {
                    content: never[];
                    usage: {
                        inputTokens: number;
                        outputTokens: number;
                        totalTokens: number;
                        reasoningTokens: number;
                        cachedInputTokens: number;
                    };
                    warnings: never[];
                    request: {
                        body: {
                            model: string;
                            input: ({
                                role: string;
                                content: string;
                                type?: undefined;
                                call_id?: undefined;
                                name?: undefined;
                                arguments?: undefined;
                                output?: undefined;
                            } | {
                                role: string;
                                content: {
                                    type: string;
                                    text: string;
                                }[];
                                type?: undefined;
                                call_id?: undefined;
                                name?: undefined;
                                arguments?: undefined;
                                output?: undefined;
                            } | {
                                type: string;
                                call_id: string;
                                name: string;
                                arguments: string;
                                role?: undefined;
                                content?: undefined;
                                output?: undefined;
                            } | {
                                type: string;
                                call_id: string;
                                output: string;
                                role?: undefined;
                                content?: undefined;
                                name?: undefined;
                                arguments?: undefined;
                            })[];
                            temperature: number;
                            tools: {
                                type: string;
                                name: string;
                                description: string;
                                parameters: {
                                    type: string;
                                    properties: {
                                        name: {
                                            type: string;
                                        };
                                        description: {
                                            type: string;
                                        };
                                    };
                                    required: string[];
                                    additionalProperties: boolean;
                                    $schema: string;
                                };
                                strict: boolean;
                            }[];
                            tool_choice: string;
                        };
                    };
                    response: {
                        id: string;
                        timestamp: string;
                        modelId: string;
                        headers: {
                            'alt-svc': string;
                            'cf-cache-status': string;
                            'cf-ray': string;
                            connection: string;
                            'content-type': string;
                            date: string;
                            'openai-organization': string;
                            'openai-processing-ms': string;
                            'openai-project': string;
                            'openai-version': string;
                            server: string;
                            'set-cookie': string;
                            'strict-transport-security': string;
                            'transfer-encoding': string;
                            'x-content-type-options': string;
                            'x-envoy-upstream-service-time': string;
                            'x-request-id': string;
                        };
                        messages: ({
                            role: string;
                            content: {
                                type: string;
                                toolCallId: string;
                                toolName: string;
                                input: {
                                    name: string;
                                    description: string;
                                };
                            }[];
                        } | {
                            role: string;
                            content: {
                                type: string;
                                toolCallId: string;
                                toolName: string;
                                output: {
                                    type: string;
                                    value: {
                                        inStock: boolean;
                                        quantity: number;
                                    };
                                };
                            }[];
                        } | {
                            role: string;
                            content: {
                                type: string;
                                text: string;
                            }[];
                        })[];
                    };
                    providerMetadata: {
                        openai: {
                            responseId: string;
                            serviceTier: string;
                        };
                    };
                }[];
                success?: undefined;
            };
            messages: {
                all: ({
                    role: string;
                    content: {
                        type: string;
                        text: string;
                    }[];
                } | {
                    role: string;
                    content: {
                        type: string;
                        toolCallId: string;
                        toolName: string;
                        input: {
                            name: string;
                            description: string;
                        };
                    }[];
                } | {
                    role: string;
                    content: {
                        type: string;
                        toolCallId: string;
                        toolName: string;
                        output: {
                            type: string;
                            value: {
                                inStock: boolean;
                                quantity: number;
                            };
                        };
                    }[];
                })[];
                user: {
                    role: string;
                    content: {
                        type: string;
                        text: string;
                    }[];
                }[];
                nonUser: ({
                    role: string;
                    content: {
                        type: string;
                        toolCallId: string;
                        toolName: string;
                        input: {
                            name: string;
                            description: string;
                        };
                    }[];
                } | {
                    role: string;
                    content: {
                        type: string;
                        toolCallId: string;
                        toolName: string;
                        output: {
                            type: string;
                            value: {
                                inStock: boolean;
                                quantity: number;
                            };
                        };
                    }[];
                } | {
                    role: string;
                    content: {
                        type: string;
                        text: string;
                    }[];
                })[];
            };
            id?: undefined;
            toolCallId?: undefined;
            toolName?: undefined;
            argsTextDelta?: undefined;
            args?: undefined;
            providerMetadata?: undefined;
            result?: undefined;
            request?: undefined;
            warnings?: undefined;
            text?: undefined;
            type?: undefined;
            workflowId?: undefined;
            stepName?: undefined;
            stepCallId?: undefined;
            payload?: undefined;
            startedAt?: undefined;
            status?: undefined;
            endedAt?: undefined;
            workflowStatus?: undefined;
        };
        networkId?: undefined;
        agentId?: undefined;
        inputData?: undefined;
        task?: undefined;
        result?: undefined;
        primitiveId?: undefined;
        primitiveType?: undefined;
        prompt?: undefined;
        isComplete?: undefined;
        selectionReason?: undefined;
        iteration?: undefined;
        usage?: undefined;
        args?: undefined;
        data?: undefined;
        workflowId?: undefined;
        id?: undefined;
        name?: undefined;
        toolCallId?: undefined;
        toolName?: undefined;
        text?: undefined;
        isOneOff?: undefined;
        threadId?: undefined;
        threadResourceId?: undefined;
    };
    from: string;
    runId: string;
} | {
    type: string;
    payload: {
        task: string;
        agentId: string;
        result: string;
        isComplete: boolean;
        iteration: number;
        runId: string;
        usage: {
            inputTokens: number;
            outputTokens: number;
            totalTokens: number;
            reasoningTokens: number;
            cachedInputTokens: number;
        };
        networkId?: undefined;
        inputData?: undefined;
        primitiveId?: undefined;
        primitiveType?: undefined;
        prompt?: undefined;
        selectionReason?: undefined;
        args?: undefined;
        type?: undefined;
        from?: undefined;
        payload?: undefined;
        data?: undefined;
        workflowId?: undefined;
        id?: undefined;
        name?: undefined;
        toolCallId?: undefined;
        toolName?: undefined;
        text?: undefined;
        isOneOff?: undefined;
        threadId?: undefined;
        threadResourceId?: undefined;
    };
    from: string;
    runId: string;
} | {
    type: string;
    payload: {
        networkId: string;
        agentId: string;
        runId: string;
        inputData: {
            task: string;
            isComplete: boolean;
            result: string;
            primitiveId: string;
            primitiveType: string;
            iteration: number;
            isOneOff: boolean;
            threadId: string;
            threadResourceId: string;
            verboseIntrospection?: undefined;
        };
        task?: undefined;
        result?: undefined;
        primitiveId?: undefined;
        primitiveType?: undefined;
        prompt?: undefined;
        isComplete?: undefined;
        selectionReason?: undefined;
        iteration?: undefined;
        usage?: undefined;
        args?: undefined;
        type?: undefined;
        from?: undefined;
        payload?: undefined;
        data?: undefined;
        workflowId?: undefined;
        id?: undefined;
        name?: undefined;
        toolCallId?: undefined;
        toolName?: undefined;
        text?: undefined;
        isOneOff?: undefined;
        threadId?: undefined;
        threadResourceId?: undefined;
    };
    runId: string;
    from: string;
} | {
    type: string;
    payload: {
        runId: string;
        networkId?: undefined;
        agentId?: undefined;
        inputData?: undefined;
        task?: undefined;
        result?: undefined;
        primitiveId?: undefined;
        primitiveType?: undefined;
        prompt?: undefined;
        isComplete?: undefined;
        selectionReason?: undefined;
        iteration?: undefined;
        usage?: undefined;
        args?: undefined;
        type?: undefined;
        from?: undefined;
        payload?: undefined;
        data?: undefined;
        workflowId?: undefined;
        id?: undefined;
        name?: undefined;
        toolCallId?: undefined;
        toolName?: undefined;
        text?: undefined;
        isOneOff?: undefined;
        threadId?: undefined;
        threadResourceId?: undefined;
    };
    from: string;
    runId: string;
} | {
    type: string;
    payload: {
        workflowId: string;
        args: {
            task: string;
            result: string;
            primitiveId: string;
            primitiveType: string;
            prompt: string;
            isComplete: boolean;
            selectionReason: string;
            iteration: number;
            runId: string;
            args?: undefined;
            toolName?: undefined;
            toolCallId?: undefined;
        };
        runId: string;
        networkId?: undefined;
        agentId?: undefined;
        inputData?: undefined;
        task?: undefined;
        result?: undefined;
        primitiveId?: undefined;
        primitiveType?: undefined;
        prompt?: undefined;
        isComplete?: undefined;
        selectionReason?: undefined;
        iteration?: undefined;
        usage?: undefined;
        type?: undefined;
        from?: undefined;
        payload?: undefined;
        data?: undefined;
        id?: undefined;
        name?: undefined;
        toolCallId?: undefined;
        toolName?: undefined;
        text?: undefined;
        isOneOff?: undefined;
        threadId?: undefined;
        threadResourceId?: undefined;
    };
    from: string;
    runId: string;
} | {
    type: string;
    payload: {
        type: string;
        runId: string;
        from: string;
        payload: {
            workflowId: string;
            id?: undefined;
            toolCallId?: undefined;
            toolName?: undefined;
            argsTextDelta?: undefined;
            args?: undefined;
            providerMetadata?: undefined;
            result?: undefined;
            messageId?: undefined;
            stepResult?: undefined;
            metadata?: undefined;
            output?: undefined;
            messages?: undefined;
            request?: undefined;
            warnings?: undefined;
            text?: undefined;
            type?: undefined;
            stepName?: undefined;
            stepCallId?: undefined;
            payload?: undefined;
            startedAt?: undefined;
            status?: undefined;
            endedAt?: undefined;
            workflowStatus?: undefined;
        };
        networkId?: undefined;
        agentId?: undefined;
        inputData?: undefined;
        task?: undefined;
        result?: undefined;
        primitiveId?: undefined;
        primitiveType?: undefined;
        prompt?: undefined;
        isComplete?: undefined;
        selectionReason?: undefined;
        iteration?: undefined;
        usage?: undefined;
        args?: undefined;
        data?: undefined;
        workflowId?: undefined;
        id?: undefined;
        name?: undefined;
        toolCallId?: undefined;
        toolName?: undefined;
        text?: undefined;
        isOneOff?: undefined;
        threadId?: undefined;
        threadResourceId?: undefined;
    };
    from: string;
    runId: string;
} | {
    type: string;
    payload: {
        type: string;
        runId: string;
        from: string;
        payload: {
            stepName: string;
            id: string;
            stepCallId: string;
            payload: {
                name: string;
                quantity: number;
            };
            startedAt: number;
            status: string;
            toolCallId?: undefined;
            toolName?: undefined;
            argsTextDelta?: undefined;
            args?: undefined;
            providerMetadata?: undefined;
            result?: undefined;
            messageId?: undefined;
            stepResult?: undefined;
            metadata?: undefined;
            output?: undefined;
            messages?: undefined;
            request?: undefined;
            warnings?: undefined;
            text?: undefined;
            type?: undefined;
            workflowId?: undefined;
            endedAt?: undefined;
            workflowStatus?: undefined;
        };
        networkId?: undefined;
        agentId?: undefined;
        inputData?: undefined;
        task?: undefined;
        result?: undefined;
        primitiveId?: undefined;
        primitiveType?: undefined;
        prompt?: undefined;
        isComplete?: undefined;
        selectionReason?: undefined;
        iteration?: undefined;
        usage?: undefined;
        args?: undefined;
        data?: undefined;
        workflowId?: undefined;
        id?: undefined;
        name?: undefined;
        toolCallId?: undefined;
        toolName?: undefined;
        text?: undefined;
        isOneOff?: undefined;
        threadId?: undefined;
        threadResourceId?: undefined;
    };
    from: string;
    runId: string;
} | {
    type: string;
    payload: {
        type: string;
        id: string;
        data: {
            name: string;
            description?: undefined;
        };
        runId: string;
        networkId?: undefined;
        agentId?: undefined;
        inputData?: undefined;
        task?: undefined;
        result?: undefined;
        primitiveId?: undefined;
        primitiveType?: undefined;
        prompt?: undefined;
        isComplete?: undefined;
        selectionReason?: undefined;
        iteration?: undefined;
        usage?: undefined;
        args?: undefined;
        from?: undefined;
        payload?: undefined;
        workflowId?: undefined;
        name?: undefined;
        toolCallId?: undefined;
        toolName?: undefined;
        text?: undefined;
        isOneOff?: undefined;
        threadId?: undefined;
        threadResourceId?: undefined;
    };
    from: string;
    runId: string;
} | {
    type: string;
    payload: {
        type: string;
        runId: string;
        from: string;
        payload: {
            stepName: string;
            id: string;
            stepCallId: string;
            status: string;
            output: {
                success: boolean;
                text?: undefined;
                toolCalls?: undefined;
                usage?: undefined;
                steps?: undefined;
            };
            endedAt: number;
            toolCallId?: undefined;
            toolName?: undefined;
            argsTextDelta?: undefined;
            args?: undefined;
            providerMetadata?: undefined;
            result?: undefined;
            messageId?: undefined;
            stepResult?: undefined;
            metadata?: undefined;
            messages?: undefined;
            request?: undefined;
            warnings?: undefined;
            text?: undefined;
            type?: undefined;
            workflowId?: undefined;
            payload?: undefined;
            startedAt?: undefined;
            workflowStatus?: undefined;
        };
        networkId?: undefined;
        agentId?: undefined;
        inputData?: undefined;
        task?: undefined;
        result?: undefined;
        primitiveId?: undefined;
        primitiveType?: undefined;
        prompt?: undefined;
        isComplete?: undefined;
        selectionReason?: undefined;
        iteration?: undefined;
        usage?: undefined;
        args?: undefined;
        data?: undefined;
        workflowId?: undefined;
        id?: undefined;
        name?: undefined;
        toolCallId?: undefined;
        toolName?: undefined;
        text?: undefined;
        isOneOff?: undefined;
        threadId?: undefined;
        threadResourceId?: undefined;
    };
    from: string;
    runId: string;
} | {
    type: string;
    payload: {
        type: string;
        runId: string;
        from: string;
        payload: {
            workflowStatus: string;
            metadata: {
                providerMetadata?: undefined;
                id?: undefined;
                timestamp?: undefined;
                modelId?: undefined;
                headers?: undefined;
                modelMetadata?: undefined;
                request?: undefined;
            };
            output: {
                usage: {
                    inputTokens: number;
                    outputTokens: number;
                    totalTokens: number;
                    cachedInputTokens: number;
                    reasoningTokens: number;
                };
                text?: undefined;
                toolCalls?: undefined;
                steps?: undefined;
                success?: undefined;
            };
            id?: undefined;
            toolCallId?: undefined;
            toolName?: undefined;
            argsTextDelta?: undefined;
            args?: undefined;
            providerMetadata?: undefined;
            result?: undefined;
            messageId?: undefined;
            stepResult?: undefined;
            messages?: undefined;
            request?: undefined;
            warnings?: undefined;
            text?: undefined;
            type?: undefined;
            workflowId?: undefined;
            stepName?: undefined;
            stepCallId?: undefined;
            payload?: undefined;
            startedAt?: undefined;
            status?: undefined;
            endedAt?: undefined;
        };
        networkId?: undefined;
        agentId?: undefined;
        inputData?: undefined;
        task?: undefined;
        result?: undefined;
        primitiveId?: undefined;
        primitiveType?: undefined;
        prompt?: undefined;
        isComplete?: undefined;
        selectionReason?: undefined;
        iteration?: undefined;
        usage?: undefined;
        args?: undefined;
        data?: undefined;
        workflowId?: undefined;
        id?: undefined;
        name?: undefined;
        toolCallId?: undefined;
        toolName?: undefined;
        text?: undefined;
        isOneOff?: undefined;
        threadId?: undefined;
        threadResourceId?: undefined;
    };
    from: string;
    runId: string;
} | {
    type: string;
    payload: {
        task: string;
        primitiveId: string;
        primitiveType: string;
        result: {
            status: string;
            steps: {
                input: {
                    name: string;
                    quantity: number;
                };
                'purchase-step': {
                    payload: {
                        name: string;
                        quantity: number;
                    };
                    startedAt: number;
                    status: string;
                    output: {
                        success: boolean;
                    };
                    endedAt: number;
                };
            };
            input: {
                name: string;
                quantity: number;
            };
            result: {
                success: boolean;
            };
            success?: undefined;
        };
        isComplete: boolean;
        iteration: number;
        name: string;
        runId: string;
        usage: {
            inputTokens: number;
            outputTokens: number;
            totalTokens: number;
            cachedInputTokens: number;
            reasoningTokens: number;
        };
        networkId?: undefined;
        agentId?: undefined;
        inputData?: undefined;
        prompt?: undefined;
        selectionReason?: undefined;
        args?: undefined;
        type?: undefined;
        from?: undefined;
        payload?: undefined;
        data?: undefined;
        workflowId?: undefined;
        id?: undefined;
        toolCallId?: undefined;
        toolName?: undefined;
        text?: undefined;
        isOneOff?: undefined;
        threadId?: undefined;
        threadResourceId?: undefined;
    };
    from: string;
    runId: string;
} | {
    type: string;
    payload: {
        args: {
            task: string;
            result: string;
            primitiveId: string;
            primitiveType: string;
            prompt: string;
            isComplete: boolean;
            selectionReason: string;
            iteration: number;
            runId: string;
            args: {
                name: string;
                quantity: number;
            };
            toolName: string;
            toolCallId: string;
        };
        runId: string;
        networkId?: undefined;
        agentId?: undefined;
        inputData?: undefined;
        task?: undefined;
        result?: undefined;
        primitiveId?: undefined;
        primitiveType?: undefined;
        prompt?: undefined;
        isComplete?: undefined;
        selectionReason?: undefined;
        iteration?: undefined;
        usage?: undefined;
        type?: undefined;
        from?: undefined;
        payload?: undefined;
        data?: undefined;
        workflowId?: undefined;
        id?: undefined;
        name?: undefined;
        toolCallId?: undefined;
        toolName?: undefined;
        text?: undefined;
        isOneOff?: undefined;
        threadId?: undefined;
        threadResourceId?: undefined;
    };
    from: string;
    runId: string;
} | {
    type: string;
    payload: {
        task: string;
        primitiveId: string;
        primitiveType: string;
        result: {
            success: boolean;
            status?: undefined;
            steps?: undefined;
            input?: undefined;
            result?: undefined;
        };
        isComplete: boolean;
        iteration: number;
        toolCallId: string;
        toolName: string;
        networkId?: undefined;
        agentId?: undefined;
        runId?: undefined;
        inputData?: undefined;
        prompt?: undefined;
        selectionReason?: undefined;
        usage?: undefined;
        args?: undefined;
        type?: undefined;
        from?: undefined;
        payload?: undefined;
        data?: undefined;
        workflowId?: undefined;
        id?: undefined;
        name?: undefined;
        text?: undefined;
        isOneOff?: undefined;
        threadId?: undefined;
        threadResourceId?: undefined;
    };
    from: string;
    runId: string;
} | {
    type: string;
    payload: {
        networkId: string;
        agentId: string;
        runId: string;
        inputData: {
            task: string;
            isComplete: boolean;
            result: {
                success: boolean;
            };
            primitiveId: string;
            primitiveType: string;
            iteration: number;
            isOneOff: boolean;
            threadId: string;
            threadResourceId: string;
            verboseIntrospection?: undefined;
        };
        task?: undefined;
        result?: undefined;
        primitiveId?: undefined;
        primitiveType?: undefined;
        prompt?: undefined;
        isComplete?: undefined;
        selectionReason?: undefined;
        iteration?: undefined;
        usage?: undefined;
        args?: undefined;
        type?: undefined;
        from?: undefined;
        payload?: undefined;
        data?: undefined;
        workflowId?: undefined;
        id?: undefined;
        name?: undefined;
        toolCallId?: undefined;
        toolName?: undefined;
        text?: undefined;
        isOneOff?: undefined;
        threadId?: undefined;
        threadResourceId?: undefined;
    };
    runId: string;
    from: string;
} | {
    type: string;
    payload: {
        runId: string;
        text: string;
        networkId?: undefined;
        agentId?: undefined;
        inputData?: undefined;
        task?: undefined;
        result?: undefined;
        primitiveId?: undefined;
        primitiveType?: undefined;
        prompt?: undefined;
        isComplete?: undefined;
        selectionReason?: undefined;
        iteration?: undefined;
        usage?: undefined;
        args?: undefined;
        type?: undefined;
        from?: undefined;
        payload?: undefined;
        data?: undefined;
        workflowId?: undefined;
        id?: undefined;
        name?: undefined;
        toolCallId?: undefined;
        toolName?: undefined;
        isOneOff?: undefined;
        threadId?: undefined;
        threadResourceId?: undefined;
    };
    from: string;
    runId: string;
} | {
    type: string;
    payload: {
        task: string;
        result: string;
        isComplete: boolean;
        iteration: number;
        runId: string;
        networkId?: undefined;
        agentId?: undefined;
        inputData?: undefined;
        primitiveId?: undefined;
        primitiveType?: undefined;
        prompt?: undefined;
        selectionReason?: undefined;
        usage?: undefined;
        args?: undefined;
        type?: undefined;
        from?: undefined;
        payload?: undefined;
        data?: undefined;
        workflowId?: undefined;
        id?: undefined;
        name?: undefined;
        toolCallId?: undefined;
        toolName?: undefined;
        text?: undefined;
        isOneOff?: undefined;
        threadId?: undefined;
        threadResourceId?: undefined;
    };
    from: string;
    runId: string;
} | {
    type: string;
    payload: {
        task: string;
        isComplete: boolean;
        result: string;
        primitiveId: string;
        primitiveType: string;
        iteration: number;
        isOneOff: boolean;
        threadId: string;
        threadResourceId: string;
        usage: {
            inputTokens: number;
            outputTokens: number;
            totalTokens: number;
            cachedInputTokens: number;
            reasoningTokens: number;
        };
        networkId?: undefined;
        agentId?: undefined;
        runId?: undefined;
        inputData?: undefined;
        prompt?: undefined;
        selectionReason?: undefined;
        args?: undefined;
        type?: undefined;
        from?: undefined;
        payload?: undefined;
        data?: undefined;
        workflowId?: undefined;
        id?: undefined;
        name?: undefined;
        toolCallId?: undefined;
        toolName?: undefined;
        text?: undefined;
    };
    from: string;
    runId: string;
})[];
//# sourceMappingURL=network.stream.d.ts.map