import type { MemoizeOptions } from '../cache'; import type { AnyFunction } from '../types'; type DecoratedArgs = Parameters; /** `memoize`'s options; `key` only applies to methods, a getter has a single entry. */ interface MemoizeDecoratorOptions extends MemoizeOptions { /** Properties whose assignment invalidates this cache. */ clearOn?: string[]; } /** Memoize a getter or method per instance, with optional TTL and `clearOn` invalidation. */ export declare function Memoize(options?: MemoizeDecoratorOptions): (target: object, propertyKey: string, descriptor?: PropertyDescriptor) => PropertyDescriptor; export {}; //# sourceMappingURL=memoize.d.ts.map