/**
 * Utilities for extracting copyable plain text from AgentMessages.
 * Used by the copy selector modal to present message content for clipboard copy.
 */
import type { AgentMessage } from "@dreb/agent-core";
/**
 * Extract copyable plain text from any AgentMessage.
 * Returns the original source text without any terminal wrapping or ANSI codes.
 * Returns empty string for messages with no meaningful text content (e.g., image-only).
 */
export declare function extractCopyableText(message: AgentMessage): string;
/**
 * Get a short label for a message's role (used in the copy selector UI).
 */
export declare function getMessageRoleLabel(message: AgentMessage): string;
/**
 * Get a single-line preview of a message's content (for display in selector).
 * Returns plain text, no ANSI, truncated to ~200 chars. Caller handles width truncation.
 */
export declare function getMessagePreview(message: AgentMessage): string;
//# sourceMappingURL=message-text.d.ts.map