/** Shares ambient registries across bundled copies of core through global symbol slots. Each registry retains its own runtime-scoped ownership. */ /** * Return the process-global singleton stored at `key`, creating it with * `factory` (and storing it) on first access. All bundled core copies share the * value because the read/write goes through `globalThis` under the same * `Symbol.for` key. */ export declare function getAmbientSingleton(key: symbol, factory: () => T): T; /** * Overwrite the process-global singleton at `key`. Used by the test-only * `set…Manager` overrides that need every copy to observe the replacement. */ export declare function setAmbientSingleton(key: symbol, value: T): void;