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