type F2 = (a: S, b: T) => R; /** * Memoize (by reference on the ordered input parameters) the given arity 2 * function * * * primitive input parameters are not currently supported */ declare function memoize2(f: F2): F2; /** * Memoize (by reference on the ordered input parameters) the given function * up to arity 6. * * * primitive input parameters are not currently supported */ declare function memoizeN any)>(f: F): F; export { memoize2, memoizeN };