type t
= Dom.history
;type state
;
let length: t => int;
let scrollRestoration: t => bool;
let setScrollRestoration: t => bool => unit;
let state: t => state;
let back: t => unit;
let forward: t => unit;
let go: int => t => unit;
let pushState: state => string => string => t => unit;
let replaceState: state => string => string => t => unit;