/**
 * Returns a previous value of its argument.
 * @param value Current value.
 * @returns Previous value, or null if there is no previous value.
 */
export declare function usePreviousValue<T>(value: T): T | null;