/**
* Memo function which does one thing
* - only uses first parameter as the cache-key
* - only accepts objects as cache-key (because of the `WeakMap`)
* @param fn
*/
export declarefunctionsimpleMemo<Textends (...rest: Array<any>) => unknown>(fn: T): T;