export interface Heartbeat { larkAppId: string; busyCount: number; at: string; } /** A heartbeat older than this is treated as "daemon not reporting" → ignored. * Daemons should write well within this window (≈ every 15s). */ export declare const HEARTBEAT_FRESH_MS = 60000; export declare function heartbeatDirIn(dir: string): string; export declare function writeHeartbeatTo(dir: string, larkAppId: string, busyCount: number, atIso: string): void; /** True iff any daemon reports a fresh heartbeat with at least one busy session. */ export declare function anyDaemonBusyTo(dir: string, nowMs: number, freshMs?: number): boolean; export declare function writeHeartbeat(larkAppId: string, busyCount: number): void; export declare function anyDaemonBusy(nowMs?: number): boolean; //# sourceMappingURL=daemon-heartbeat.d.ts.map