export default stickyModule; /** * Allow leaking a module globally to help avoid conflicting exports * if the module might have been re-bundled in other projects. * @template T * @param {string} name the module name to save or retrieve * @param {T} value the module as value to save if not known * @param {globalThis} [global=globalThis] the reference where modules are saved where `globalThis` is the default * @returns {[T, boolean]} the passed `value` or the previous one as first entry, a boolean indicating if it was known or not */ declare function stickyModule(name: string, value: T, global?: typeof globalThis): [T, boolean];