UNPKG

@artinet/sdk

Version:

A TypeScript SDK for building collaborative AI agents.

16 lines (15 loc) 463 B
/** * Copyright 2025 The Artinet Project * SPDX-License-Identifier: Apache-2.0 */ import { A2A } from "../../../types/index.js"; /** * Extracts the content of an agent response. * @param input - The input event. * @returns The content of the input event. */ export declare function extractTextContent(input: A2A.Update): string | undefined; /** * @deprecated Use extractTextContent instead. */ export declare const getContent: typeof extractTextContent;