declare const decodeState: (state: string) => T; export default decodeState;