import type { SubagentRunRecord } from "./subagent-registry.types.js"; export declare const STALE_UNENDED_SUBAGENT_RUN_MS: number; export declare const RECENT_ENDED_SUBAGENT_CHILD_SESSION_MS: number; export declare function hasSubagentRunEnded>(entry: T): entry is T & { endedAt: number; }; export declare function isStaleUnendedSubagentRun(entry: Pick, now?: number): boolean; export declare function isLiveUnendedSubagentRun(entry: Pick, now?: number): boolean; export declare function shouldKeepSubagentRunChildLink(entry: Pick, options?: { activeDescendants?: number; now?: number; }): boolean;