import { OnDestroy } from '@angular/core'; import { AppInsights } from 'applicationinsights-js'; import { PuiCoreServiceConfig } from '../'; /** * Application Insights service. * @export * @class PuiApplicationInsightsService */ export declare class PuiApplicationInsightsService implements OnDestroy { private isConfigured; private instrumentationKey; constructor(config: PuiCoreServiceConfig); ngOnDestroy(): void; /** * Get a clickstream compatible telemetry service. * @returns {typeof AppInsights} Application Insights service. * @memberof PuiApplicationInsightsService */ getTelemetryService(): typeof AppInsights; /** * Get an Application Insights service reference. * @returns {typeof AppInsights} Application Insights service reference. * @memberof PuiApplicationInsightsService */ getApplicationInsightsService(): typeof AppInsights; /** * Configure the service. Intended for initial setup. * @private * @param {string} instrumentationKey Application Insights instrumentation key. * @memberof PuiApplicationInsightsService */ private configure(instrumentationKey); }