/** * Performance timing utility for measuring execution time. * * @example * ```typescript * const timer = new Timer("render", true); * // ... do some work ... * timer.split("tessellation complete"); * // ... do more work ... * timer.stop(); * ``` * * @public */ declare class Timer { private prefix; private timeit; private start; private last; /** * Create a new Timer instance. * * @param prefix - Label prefix for log messages * @param timeit - If false, all timing operations are no-ops */ constructor(prefix: string, timeit: boolean); /** * Log a split time (time since last split or start). * * @param msg - Message to include in the log output */ split(msg: string): void; /** * Log total elapsed time and stop the timer. */ stop(): void; } export { Timer };