/** * Read the phase durations npm recorded for the most recent install, then * delete the timing files so the logs dir stays bounded. * * Returns null when there is nothing usable - no timing file, an unreadable or * non-JSON file, or a file carrying none of the whitelisted timers. A timer * npm did not record is omitted rather than reported as 0, because "npm * unpacked nothing" and "npm never got as far as unpacking" are different * facts; a recorded 0 IS emitted, since an install that unpacked nothing is * exactly the case worth telling apart from a slow one. * * Never throws: this runs on the success path of a completed install, and no * telemetry read may turn that into a failure. */ export declare function consumeNpmInstallTimingAttributes(logsDir: string): Promise | null>; //# sourceMappingURL=npm-install-timing.d.mts.map