import type { RuntimeExecutionId } from "./types.js"; export declare const ACTIVE_RUNTIME_TTL_MS: number; export interface ActiveRuntimeRecord { runtime: RuntimeExecutionId; updatedAt: string; writer: "hook" | "cli" | string; } export interface ActiveRuntimeReadResult { record?: ActiveRuntimeRecord; status: "missing" | "stale" | "fresh" | "corrupted"; } export declare function activeRuntimePath(root: string): string; export declare function isActiveRuntimeFresh(record: ActiveRuntimeRecord, now?: number, ttlMs?: number): boolean; export declare function readActiveRuntime(root: string, now?: number, ttlMs?: number): Promise; export declare function writeActiveRuntime(root: string, runtime: RuntimeExecutionId, options?: { writer?: string; now?: number; }): Promise;