/** * Advanced cache decorator using WeakMap for object keys * @template T The return type of the cached function * @template Args The argument types of the cached function * @param fn Function to cache * @returns Cached version of the function */ export declare function cacheWeak(fn: (this: unknown, ...args: Args) => T): (...args: Args) => T; export { }