import type { CombinerConnection } from "./connection.js"; import type { ExtensionUIContext } from "../pi.js"; import type { FooterStatus } from "./settings.js"; export type FooterCounts = { enabled: number; ready: number; disabled: number; }; /** Derive enabled/ready/disabled counts from a /health snapshot. Tolerates both * the object-keyed shape (what the combiner serves) and an array (defensive). */ export declare function countsFromHealth(health: unknown): FooterCounts; /** Render the footer text for a mode (undefined = clear the slot). */ export declare function footerText(mode: FooterStatus, counts: FooterCounts, connectionState: string, toolCount?: number): string | undefined; /** Refresh the footer from live health + this session's tool view. Never throws; * logs (once) when the UI cannot take a status so a dead label is diagnosable. */ export declare function updateFooter(connection: CombinerConnection, ui: ExtensionUIContext | undefined, key: string, mode: FooterStatus): Promise; //# sourceMappingURL=footer.d.ts.map