import { type Component } from "@pk-nerdsaver-ai/pi-tui";
import type { AgentSession } from "../../session/agent-session";
/**
 * Footer component that shows pwd, token stats, and context usage
 */
export declare class FooterComponent implements Component {
    #private;
    private readonly session;
    constructor(session: AgentSession);
    setAutoCompactEnabled(enabled: boolean): void;
    /**
     * Set extension status text to display in the footer.
     * Text is sanitized (newlines/tabs replaced with spaces) and truncated to terminal width.
     * ANSI escape codes for styling are preserved.
     * @param key - Unique key to identify this status
     * @param text - Status text, or undefined to clear
     */
    setExtensionStatus(key: string, text: string | undefined): void;
    /**
     * Set up a file watcher on .git/HEAD to detect branch changes.
     * Call the provided callback when branch changes.
     */
    watchBranch(onBranchChange: () => void): void;
    /**
     * Clean up the file watcher
     */
    dispose(): void;
    invalidate(): void;
    render(width: number): readonly string[];
}
