export type Stopwatch = (reset?: boolean) => number; /** * Tracks elapsed time in milliseconds. */ export declare const create_stopwatch: (decimals?: number) => Stopwatch; export type TimingsKey = string | number; /** * Tracks and manages multiple timing operations. * Allows starting, stopping, and retrieving timings with optional precision. */ export declare class Timings { #private; readonly decimals: number | undefined; constructor(decimals?: number); /** * Starts a timing operation for the given key. */ start(key: TimingsKey, decimals?: number | undefined): () => number; get(key: TimingsKey): number; entries(): IterableIterator<[TimingsKey, number | undefined]>; /** * Merges other timings into this one, * adding together values with identical keys. */ merge(timings: Timings): void; } //# sourceMappingURL=timings.d.ts.map