export declare const usePrevious: (state: T) => T | null | undefined;