/** * Component that renders a user message with a thin border that fits the content. */ import { Container } from '@earendil-works/pi-tui'; import type { MarkdownTheme } from '@earendil-works/pi-tui'; import type { ChatSpacingKind } from './chat-spacing.js'; /** * A renderable wrapper that adds a thin box-drawing border sized to content. */ export declare class BorderedBox { private child; private pending; private borderColor?; private label?; private cachedLines?; private cachedWidth?; private cachedThemeGeneration?; constructor(child: { render(width: number): string[]; invalidate?(): void; }, options?: { pending?: boolean; borderColor?: string; label?: string; }); invalidate(): void; render(width: number): string[]; private renderUncached; } export declare class UserMessageComponent extends Container { constructor(text: string, markdownTheme?: MarkdownTheme, options?: { pending?: boolean; borderColor?: string; label?: string; }); getChatSpacingKind(): ChatSpacingKind; } export declare class PendingUserMessageComponent extends Container { constructor(text: string, imageCount?: number); getChatSpacingKind(): ChatSpacingKind; } //# sourceMappingURL=user-message.d.ts.map