export declare function useVersion(value: T, equal?: (a: T, b: T) => boolean): number;