import { Thunk } from "@siteimprove/alfa-thunk" ; declare const require ; export let now ; if ( typeof performance !== "undefined" ) { now = performance . now ; } else { try { now = require ( "perf_hooks" ) . performance . now ; } catch { now = Date . now ; } }