export declare const HEARTBEAT_FRESH_S = 60;
export declare const HEARTBEAT_STALE_S = 300;
export interface ExecutorStatus {
    executor: string;
    available: boolean;
    reason?: string;
    category?: string;
    failures?: number;
    cooldownUntil?: string;
    updatedAt?: string;
}
export interface StatusReport {
    ts: string;
    version: string;
    profile: string | null;
    uptimeSeconds: number | null;
    heartbeat: {
        present: boolean;
        pid?: number;
        host?: string;
        ageSeconds: number | null;
        fresh: boolean;
    };
    governance: {
        ledgerPresent: boolean;
        entryCount: number;
        lastEntryHash?: string;
        lastEntryTs?: string;
    };
    queue: {
        depth: number;
        lastFlushedAt?: string;
    };
    executors: ExecutorStatus[];
    install: {
        installedAt?: string;
        providers?: Record<string, boolean>;
        clis?: Record<string, boolean>;
        hasTelegramToken?: boolean;
    };
    overall: 'healthy' | 'degraded' | 'down';
    notes: string[];
}
export declare function buildStatusReport(root?: string, packageRoot?: string): StatusReport;
export declare function renderStatusReport(report: StatusReport): string;
