import { AsyncLocalStorage } from "node:async_hooks"; import type { ExtensionBindings } from "./agent-session-types.js"; /** Internal factory context; never inherited by independently admitted child sessions. */ export interface SessionLifecycleContext { scope: object; bindings?: ExtensionBindings; claimed?: boolean; /** Runtime retains lineage if an unpublished replacement rolls back. */ replacement?: boolean; } export declare const sessionLifecycleCreation: AsyncLocalStorage; export declare const sessionLifecycleScopes: WeakMap; /** Communication transports may be borrowed; only runtime/loader identities own a lifetime. */ export declare function lifecycleScopeForOwner(owner: object): object; //# sourceMappingURL=session-lifecycle-scope.d.ts.map