import type { RemoteClawConfig } from "../config/config.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 resolveSubagentRoleForDepth: "live"; readonly resolveSubagentControlScopeForRole: "live"; readonly resolveSubagentCapabilities: "live"; readonly resolveStoredSubagentCapabilities: "live"; }; export declare const SUBAGENT_SESSION_ROLES: readonly ["main", "orchestrator", "leaf"]; export type SubagentSessionRole = (typeof SUBAGENT_SESSION_ROLES)[number]; export declare const SUBAGENT_CONTROL_SCOPES: readonly ["children", "none"]; export type SubagentControlScope = (typeof SUBAGENT_CONTROL_SCOPES)[number]; type SessionCapabilityEntry = { sessionId?: unknown; spawnDepth?: unknown; subagentRole?: unknown; subagentControlScope?: unknown; }; export declare function resolveSubagentRoleForDepth(params: { depth: number; maxSpawnDepth?: number; }): SubagentSessionRole; export declare function resolveSubagentControlScopeForRole(role: SubagentSessionRole): SubagentControlScope; export declare function resolveSubagentCapabilities(params: { depth: number; maxSpawnDepth?: number; }): { depth: number; role: "main" | "orchestrator" | "leaf"; controlScope: "none" | "children"; canSpawn: boolean; canControlChildren: boolean; }; export declare function resolveStoredSubagentCapabilities(sessionKey: string | undefined | null, opts?: { cfg?: RemoteClawConfig; store?: Record; }): { depth: number; role: "main" | "orchestrator" | "leaf"; controlScope: "none" | "children"; canSpawn: boolean; canControlChildren: boolean; }; export {};