import from borel

See also https://github.com/anchor/borel/pull/92
This type could use an explanatory comment wrt purpose I think.