/** * Returns a value shared across every module instance of this package that ends up * loaded in the same process (e.g. Node's require() of an ES module creates a * synthetic instance separate from one loaded via import()), by keeping it on * `globalThis` under a key namespaced with the package's major version so two * incompatible releases loaded in the same process don't share state. */ export declare function getGlobalSingleton(key: string, create: () => T): T;