Public declaration syntax from forge-ts/packages/forge-auth/src/delegation.ts Original source SHA-256: 850875172e52f836506516c11afa2d4b7dbeab1e657d75a8c232f1c029f53527 Function bodies and constant values are omitted. This is not the complete implementation. Source line 35 export interface DelegationRequest { /** The parent agent's Arsenal ACT. */ readonly parentAct: AgentCapabilityToken; /** The parent agent's OAS DID. */ readonly parentDid: string; /** The child agent's OAS DID. */ readonly childDid: string; /** The scopes requested for the child agent. Must be a subset of the parent's. */ readonly requestedScopes: readonly string[]; } Source line 49 export interface DelegationResult { /** The child's scopes (verified subset of parent). */ readonly scopes: readonly string[]; /** The computed child TTL in seconds. */ readonly ttlSeconds: number; /** The parent's DID for provenance. */ readonly parentDid: string; /** The child's DID. */ readonly childDid: string; } Source line 88 export function delegateCapabilities(request: DelegationRequest): DelegationResult;