/** * Returns the last committed value. It is undefined on the first render. * * @param value - The value stored after the current commit. * @public */ export declare function usePrevious(value: T): T | undefined; /** * Returns the last committed value, or initialValue before the first commit. * * @param value - The value stored after the current commit. * @param initialValue - The value returned before the first commit. * @public */ export declare function usePrevious(value: T, initialValue: U): T | U;