import type { SubagentAgentState, SubagentRegistry } from "../types.js"; export declare function subagentsRegistryPath(cwd: string): string; export declare function readSubagentRegistry(cwd: string): Promise; export declare function readSubagentRunStateFromFiles(runDir: string, options?: { includeLineCounts?: boolean; }): Promise<{ runDir: string; agents: SubagentAgentState[]; } | undefined>; export declare function subagentRunHasParentSession(runDir: string, parentSessionFile: string | undefined): Promise;