/** * [WHO]: SkillInvocationMessageComponent * [FROM]: Depends on @catui/tui, ../theme/theme.js, ./keybinding-hints.js * [TO]: Consumed by modes/interactive/components/index.ts * [HERE]: modes/interactive/components/skill-invocation-message.ts - skill invocation display */ import { Box, type MarkdownTheme } from "@catui/tui"; import type { ParsedSkillBlock } from "../../../core/runtime/agent-session.js"; /** * Component that renders a skill invocation message with collapsed/expanded state. * Uses same background color as custom messages for visual consistency. * Only renders the skill block itself - user message is rendered separately. */ export declare class SkillInvocationMessageComponent extends Box { private nextContent; private expanded; private skillBlock; private markdownTheme; constructor(skillBlock: ParsedSkillBlock, markdownTheme?: MarkdownTheme); private renderLegacy; private invalidateLegacy; render(width: number): string[]; setExpanded(expanded: boolean): void; invalidate(): void; private updateDisplay; }