import type { DeliveryContext } from "../utils/delivery-context.js"; import type { SubagentRunRecord } from "./subagent-registry.types.js"; /** * Runtime attestation (ADR 0005 H9). Declares the implementation status * of each runtime export in this module. See CONTRIBUTING.md ยง Module * attestations for the category definitions and the convention for * updating these when sync or rebrand changes the surface. */ export declare const MODULE_ATTESTATIONS: { readonly findRunIdsByChildSessionKeyFromRuns: "live"; readonly listRunsForRequesterFromRuns: "live"; readonly listRunsForControllerFromRuns: "live"; readonly resolveRequesterForChildSessionFromRuns: "live"; readonly shouldIgnorePostCompletionAnnounceForSessionFromRuns: "live"; readonly countActiveRunsForSessionFromRuns: "live"; readonly countActiveDescendantRunsFromRuns: "live"; readonly countPendingDescendantRunsFromRuns: "live"; readonly countPendingDescendantRunsExcludingRunFromRuns: "live"; readonly listDescendantRunsForRequesterFromRuns: "live"; }; export declare function findRunIdsByChildSessionKeyFromRuns(runs: Map, childSessionKey: string): string[]; export declare function listRunsForRequesterFromRuns(runs: Map, requesterSessionKey: string, options?: { requesterRunId?: string; }): SubagentRunRecord[]; export declare function listRunsForControllerFromRuns(runs: Map, controllerSessionKey: string): SubagentRunRecord[]; export declare function resolveRequesterForChildSessionFromRuns(runs: Map, childSessionKey: string): { requesterSessionKey: string; requesterOrigin?: DeliveryContext; } | null; export declare function shouldIgnorePostCompletionAnnounceForSessionFromRuns(runs: Map, childSessionKey: string): boolean; export declare function countActiveRunsForSessionFromRuns(runs: Map, controllerSessionKey: string): number; export declare function countActiveDescendantRunsFromRuns(runs: Map, rootSessionKey: string): number; export declare function countPendingDescendantRunsFromRuns(runs: Map, rootSessionKey: string): number; export declare function countPendingDescendantRunsExcludingRunFromRuns(runs: Map, rootSessionKey: string, excludeRunId: string): number; export declare function listDescendantRunsForRequesterFromRuns(runs: Map, rootSessionKey: string): SubagentRunRecord[];