/** * AFT status dialog for Pi. * * Mirrors the @cortexkit/opencode-magic-context Pi `/ctx-status` pattern: * `ctx.ui.custom(...)` opens an overlay backed by a Component * that implements its own render + handleInput. Unlike OpenCode's TUI * (which uses @opentui/solid with flex primitives), Pi's TUI is * line-oriented and monospace — so column alignment via `padEnd` IS the * idiomatic approach here, and looks correct because the host renders * lines in a fixed-width font. * * Refresh cadence (REFRESH_INTERVAL_MS) is short enough that status * transitions like "loading → ready" surface live in the dialog without * the user needing to close and re-open it. */ import type { ExtensionAPI, ExtensionCommandContext, Theme } from "@earendil-works/pi-coding-agent"; import { type AftStatusSnapshot, type StatusCompression } from "../shared/status.js"; import type { PluginContext } from "../types.js"; export declare function showAftStatusDialog(pi: ExtensionAPI, extCtx: ExtensionCommandContext, pluginCtx: PluginContext): Promise; export declare function renderStatusDialogInnerForTest(s: AftStatusSnapshot | null, error: string | null, theme: Theme, innerWidth: number): string[]; export declare function formatCompressionStatusRows(compression: StatusCompression | undefined): string[]; //# sourceMappingURL=status-dialog.d.ts.map