@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
16 lines • 840 B
TypeScript
import { Container } from "@earendil-works/pi-tui";
/**
* One startup banner section (`[Skills]`, `[Extensions]`, ...) with a collapsed and an expanded body.
* A section whose collapsed body is empty renders nothing until it is expanded, so a banner that
* would only list system resources disappears from the compact view without leaving a blank gap.
* The bodies are built on demand, so the section follows theme changes like other themed text.
*/
export declare class LoadedResourceSection extends Container {
private readonly getCollapsedText;
private readonly getExpandedText;
private readonly body;
private expanded;
constructor(getCollapsedText: () => string, getExpandedText: () => string, expanded: boolean);
setExpanded(expanded: boolean): void;
}
//# sourceMappingURL=loaded-resource-section.d.ts.map