export type Unit = 'ns' | 'us' | 'ms' | 's'; export type Timestamp = bigint & { readonly __unit: Unit; }; export declare function now(): Timestamp<'ns'>; export declare const ns: (value: bigint | number) => Timestamp<'ns'>; export declare const us: (value: bigint | number) => Timestamp<'us'>; export declare const ms: (value: bigint | number) => Timestamp<'ms'>; export declare const s: (value: bigint | number) => Timestamp<'s'>; export declare function convert(value: Timestamp, from: F, to: T): Timestamp; export declare function add(a: Timestamp, b: Timestamp): Timestamp; export declare function useTimestamp(): { timestamp: Timestamp<'ns'>; }; //# sourceMappingURL=use-timestamp.d.ts.map