type MeasurementKey = string; export declare function now(): number; export declare function measure(key: MeasurementKey): number; export declare function endMeasure(key: MeasurementKey, options?: { displayName?: string; lastTime?: number; silent?: boolean; }): number; /** * Get the cumulative of a specific measurement by prefix. If you had for example these measurements: * - transpile-index.js * - transpile-test.js * * You can get the sum of these measurements with getCumulativeMeasure('transpile', 'Transpilation') */ export declare function getCumulativeMeasure(prefix: string, options?: { displayName?: string; silent?: boolean; }): number; export declare function clearMeasurements(): void; export declare function getMeasurements(): { [measurement: string]: number; }; export declare function persistMeasurements(data: { sandboxId: string; cacheUsed: boolean; browser: string; version: string; }): Promise; export {};