/** * This is from : https://github.com/threepointone/glamor/blob/667b480d31b3721a905021b26e1290ce92ca2879/docs/weakmaps.md#so-what-does-a-cache-built-with-a-weakmap-look-like * Thank you! */ import type { primitives } from '../../../types/CommonTypes'; type ObjectFnType = (arg: object) => unknown; /** * Return the caching wrapper function * @param fn the target function for caching result * @returns */ export declare const objectCachify: (fn: ObjectFnType) => ObjectFnType; /** * Return the caching wrapper function * @param fn the target function for caching result * @returns */ export declare const primitiveCachify1:

(fn: (arg: P) => unknown) => ((arg: P) => unknown); export {};