import { IStage, ISDKPerformance } from './types/performance.interfaces'; /** * A performance module to measure and to collect the time spending, * memory usage and further performance data of the sdk. * * @example Universal stages for all apps * const performance = new SDKPerformance('localhost:8080/apps'); * performance.initializationEnd(); * performance.contextStart(); * performance.contextEnd(); * @example Custom an application dependent stage * performance.addStage('like'); * performance.start('like'); * performance.end('like'); * @example Generate report object * const report = this.performance.generateReport(); */ declare class SDKPerformance implements ISDKPerformance { appsContextEnd: number; appsContextStart: number; appsUrl: string; sdkExecuteStartDate: number; sdkInitializationEnd: number; sdkInitializationStart: number; stages: Map; static now(): number; static createStage(name: string): { name: string; start: number; end: number; }; static titleCase(s: string): string; static toFixed(num: number): number; constructor(appsUrl: string); initializationStart(): void; initializationEnd(): void; contextStart(): void; contextEnd(): void; addStage(name: string): void; start(name: string): void; end(name: string): void; generateReport(): { appsUrl: string; sdkExecuteStartDate: number; sdkInitializationTime: number; appsContextTime: number; }; } export default SDKPerformance; //# sourceMappingURL=performance.d.ts.map