/** * @file Private internals for `memo/*` modules — the shared `cacheRegistry` * (each memoize variant registers its per-instance clear function here so * `clearAllMemoizationCaches` can fan out). `defaultKeyGen` is co-located * because both `memoize` and `memoizeAsync` use it as the default cache-key * encoder. */ /** * Global registry of memoization cache clear functions. */ export declare const cacheRegistry: Array<() => void>; /** * Default cache key generator that disambiguates `undefined`, `BigInt`, and * `Map`/`Set` arguments (which `JSON.stringify` drops or collapses). */ export declare function defaultKeyGen(args: readonly unknown[]): string;