import { Container, Text } from "@earendil-works/pi-tui"; import type { CodeModeRenderTheme } from "./types.js"; export interface RenderedToolContent { type: string; text?: string | undefined; data?: string | undefined; mimeType?: string | undefined; } export declare function imagesByMimeType(contents: Array): Map>; export declare function previewText(text: string, theme: CodeModeRenderTheme): string; export declare function expandHint(): string; export declare function renderTextAndImages(text: string, images: Array, theme: CodeModeRenderTheme): Text | Container;