/** * Returns a timestamp in seconds since the UNIX epoch using the Date API. */ export declare const dateTimestampInSeconds: () => number; /** * Returns a timestamp in seconds since the UNIX epoch using either the Performance or Date APIs, depending on the * availability of the Performance API. * * See `usingPerformanceAPI` to test whether the Performance API is used. * * BUG: Note that because of how browsers implement the Performance API, the clock might stop when the computer is * asleep. This creates a skew between `dateTimestampInSeconds` and `timestampInSeconds`. The * skew can grow to arbitrary amounts like days, weeks or months. * See https://github.com/getsentry/sentry-javascript/issues/2590. */ export declare const timestampInSeconds: () => number; export declare const timestampWithMs: () => number; /** * A boolean that is true when timestampInSeconds uses the Performance API to produce monotonic timestamps. */ export declare const usingPerformanceAPI: boolean; /** * Internal helper to store what is the source of browserPerformanceTimeOrigin below. For debugging only. */ export declare let _browserPerformanceTimeOriginMode: string; /** * The number of milliseconds since the UNIX epoch. This value is only usable in a browser, and only when the * performance API is available. */ export declare const browserPerformanceTimeOrigin: number | undefined; //# sourceMappingURL=time.d.ts.map