import type { Theme } from "@earendil-works/pi-coding-agent"; import { Box } from "@earendil-works/pi-tui"; export type MessageCardView = { title: string; status?: string; expandedText?: string; }; export type MessageCardColor = "accent" | "dim" | "error" | "success" | "warning"; export declare function renderMessageCard(view: MessageCardView, theme: Theme): Box; export declare function customMessageContentText(content: unknown): string; export declare function cleanOptionalSingleLine(value: unknown): string | undefined; export declare function cleanSingleLine(value: string): string; export declare function paintMessageCard(theme: Pick | undefined, color: MessageCardColor, text: string): string;