type t
= Dom.location
;
let href: t => string;
let setHref: t => string => unit;
let protocol: t => string;
let setProtocol: t => string => unit;
let host: t => string;
let setHost: t => string => unit;
let hostname: t => string;
let setHostname: t => string => unit;
let port: t => string;
let setPort: t => string => unit;
let pathname: t => string;
let setPathname: t => string => unit;
let search: t => string;
let setSearch: t => string => unit;
let hash: t => string;
let setHash: t => string => unit;
let username: t => string;
let setUsername: t => string => unit;
let password: t => string;
let setPassword: t => string => unit;
let origin: t => string;
let assign: string => t => unit;
let reload: t => unit;
let reloadWithForce: t => unit;
let replace: string => t => unit;
let toString: t => string;