/** * Footer: one line under the prompt, OpenCode style. * * ⠋ Working 4s * * pi's working indicator. The cwd, git branch, context, cost, status widgets and other extensions' * setStatus() strings (MCP, LSP, provider usage, ...) live in the sidebar; they only show here * while the sidebar is hidden (ctrl+x b, a narrow terminal, or the overlay fallback). * Segments drop from the left of the right group when the line is too narrow. */ import type { ExtensionContext, ReadonlyFooterDataProvider, Theme } from "@earendil-works/pi-coding-agent"; import type { UiState } from "./state.ts"; export declare function renderFooter(state: UiState, theme: Theme, data: ReadonlyFooterDataProvider, width: number): string[]; export declare function installFooter(ctx: ExtensionContext, state: UiState, onRequestRender: (fn: (() => void) | undefined) => void): () => void;