declare const stateChanged: = Record>(newState: S, oldState: S) => boolean; export default stateChanged;