/** * Basic cache decorator for functions with single string/number parameter * * @template T The return type of the cached function * @param fn Function to cache * @returns Cached version of the function */ export declare const cache: (fn: (key: string | number) => T) => (key: string | number) => T; export { }