/**
 * Caches the result of a function for a given amount of time
 * @param cacheTimeMS the amount of time to cache the result for in milliseconds
 * @param func the function to cache the result of
 */
export declare function cacheResult<T, U extends unknown[]>(cacheTimeMS: number, func: (...args: U) => T): (...args: U) => T;
