/**
 * A helper hook to keep track of the previous value of a variable.
 * Uses a `ref` underneath so does not cause additional re-renders.
 *
 * @param value value to keep track of
 * @param initialValue initial value
 */
declare function usePrevious<T>(value: T, initialValue: T): T;
export default usePrevious;
//# sourceMappingURL=use-previous.d.ts.map