/** * [WHO]: Attachment, AttachmentsBarComponent * [FROM]: Depends on node:path, @catui/tui * [TO]: Consumed by modes/interactive/components/index.ts * [HERE]: modes/interactive/components/attachments-bar.ts - */ import { Container } from "@catui/tui"; import type { Theme } from "../theme/theme.js"; export interface Attachment { path: string; mimeType?: string; } /** * Attachments bar component for displaying clipboard image attachments. * Shows a list of attached images with selection and deletion support. */ export declare class AttachmentsBarComponent extends Container { private attachments; private selectedIndex; private theme; private onSelect?; private onDelete?; constructor(attachments: Attachment[], selectedIndex: number, theme: Theme, options?: { onSelect?: (index: number) => void; onDelete?: (index: number) => void; }); private renderContent; /** * Update the attachments and re-render */ update(attachments: Attachment[], selectedIndex: number): void; /** * Handle input for selection and deletion */ handleInput(data: string): boolean; invalidate(): void; }