/**
 * 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.
 * @param legacy - Whether to use the legacy content extraction logic.
 * @returns The content of the input event.
 */
export declare function extractTextContent(input: A2A.Update, legacy?: boolean): string | undefined;
/**
 * @deprecated Use extractTextContent instead.
 */
export declare const getContent: typeof extractTextContent;
