/** * [WHO]: TruncatedText * [FROM]: Depends on ../utils.js * [TO]: Consumed by core/lib/tui/src/index.ts * [HERE]: core/lib/tui/src/components/truncated-text.ts - */ import type { Component } from "../tui.js"; /** * Text component that truncates to fit viewport width */ export declare class TruncatedText implements Component { private text; private paddingX; private paddingY; constructor(text: string, paddingX?: number, paddingY?: number); invalidate(): void; render(width: number): string[]; }