export declare const useUpdate: (callback?: () => void) => () => void;