UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

15 lines • 769 B
import "./types.openclaw-yUy4bDSr.js"; import "./config-contracts-DzLaG7FV.js"; import "./config-BqyL0TqI.js"; import "./paths-DCz7T0Bd.js"; import "./fs-safe-KRE4Cckk.js"; import "./utils-DhaCU8ER.js"; import "./memory-search-DyStcN_y.js"; import "./fs-utils-8PiYFN32.js"; //#region src/shared/global-singleton.d.ts type GlobalSingletonLifecycle = "close-and-restart" | "close-only" | "plugin-registry"; type GlobalSingletonReset<T> = (value: T) => void | Promise<void>; /** Resolves a process-local singleton for caches and registries that tolerate helper lookup. */ declare function resolveGlobalSingleton<T>(key: symbol, create: () => T, reset?: GlobalSingletonReset<T>, lifecycle?: GlobalSingletonLifecycle): T; //#endregion export { resolveGlobalSingleton as t };