@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
18 lines • 770 B
TypeScript
import { type Component } from "@earendil-works/pi-tui";
/**
* Dynamic border component that adjusts to viewport width.
*
* Note: When used from extensions loaded via jiti, the global `theme` may be undefined
* because jiti creates a separate module cache. Always pass an explicit color
* function when using DynamicBorder in components exported for extension use.
*/
export declare class DynamicBorder implements Component {
private color;
private revision;
constructor(color?: (str: string) => string);
invalidate(): void;
/** A full-width rule in a fixed color function: only the width (and theme, via invalidate) varies. */
getRenderRevision(): number;
render(width: number): string[];
}
//# sourceMappingURL=dynamic-border.d.ts.map