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