import { DependencyList } from 'react'; /** * A version of `useMemo` that guarantees memoization. * See https://reactjs.org/docs/hooks-reference.html#usememo for an explanation why `useMemo` itself * does not have the same guarantees. * * @param factory function to create the desired value * @param deps list of dependencies * @returns {*} the result of `factory` or the previous value if the dependencies have not changed */ export declare const useMemoGuaranteed: (factory: (previous?: T) => T, deps: DependencyList) => T;