import type { Component } from '@earendil-works/pi-tui'; import type { TuiState } from '../tui-types.js'; /** Compact token counts (aligned with pi coding-agent footer). */ export declare function formatTokens(count: number): string; export declare function sanitizeStatusText(text: string): string; export declare function formatQueuedMessageLines(state: TuiState, width: number): string[]; export declare function formatCwdForFooter(cwd: string, home: string | undefined): string; /** * Multi-line footer below the input editor (pi coding-agent style): * cwd ยท session, then a single padded row: status/tokens on the left, model on the right. */ export declare class TuiBottomBar implements Component { private readonly getState; private readonly getThinkingDefault; private extensionLines; private extensionComponents; private extensionStatusParts; private customComponent; constructor(getState: () => TuiState, getThinkingDefault: () => string | undefined); setExtensionLines(lines: string[]): void; setExtensionComponents(components: Component[]): void; setExtensionStatusParts(parts: string[]): void; setCustomComponent(component: Component | undefined): void; invalidate(): void; render(width: number): string[]; }