import type { SubagentRunRecord } from "./subagent-registry.types.js"; export declare function getSubagentSessionStartedAt(entry: Pick | null | undefined): number | undefined; export declare function getSubagentSessionRuntimeMs(entry: Pick | null | undefined, now?: number): number | undefined; export declare function resolveSubagentSessionStatus(entry: Pick | null | undefined): "running" | "killed" | "failed" | "timeout" | "done" | undefined; export declare function listSubagentRunsForController(controllerSessionKey: string): SubagentRunRecord[]; export declare function getSubagentRunByChildSessionKey(childSessionKey: string): SubagentRunRecord | null; export declare function getSessionDisplaySubagentRunByChildSessionKey(childSessionKey: string): SubagentRunRecord | null; export declare function getLatestSubagentRunByChildSessionKey(childSessionKey: string): SubagentRunRecord | null;