This repository has been archived on 2026-03-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
openclaw-extensions/wecom/node_modules/@mariozechner/pi-tui/dist/components/text.d.ts
T

19 lines
632 B
TypeScript

import type { Component } from "../tui.js";
/**
* Text component - displays multi-line text with word wrapping
*/
export declare class Text implements Component {
private text;
private paddingX;
private paddingY;
private customBgFn?;
private cachedText?;
private cachedWidth?;
private cachedLines?;
constructor(text?: string, paddingX?: number, paddingY?: number, customBgFn?: (text: string) => string);
setText(text: string): void;
setCustomBgFn(customBgFn?: (text: string) => string): void;
invalidate(): void;
render(width: number): string[];
}
//# sourceMappingURL=text.d.ts.map