## API Report File for "@microsoft/applicationinsights-analytics-js"

> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).

```ts

import { BaseTelemetryPlugin } from '@microsoft/applicationinsights-core-js';
import { IAppInsights } from '@microsoft/applicationinsights-common';
import { IAppInsightsCore } from '@microsoft/applicationinsights-core-js';
import { IAutoExceptionTelemetry } from '@microsoft/applicationinsights-common';
import { IConfig } from '@microsoft/applicationinsights-common';
import { IConfiguration } from '@microsoft/applicationinsights-core-js';
import { ICookieMgr } from '@microsoft/applicationinsights-core-js';
import { ICustomProperties } from '@microsoft/applicationinsights-core-js';
import { IDiagnosticLogger } from '@microsoft/applicationinsights-core-js';
import { IEventTelemetry } from '@microsoft/applicationinsights-common';
import { IExceptionTelemetry } from '@microsoft/applicationinsights-common';
import { IMetricTelemetry } from '@microsoft/applicationinsights-common';
import { IPageViewPerformanceTelemetry } from '@microsoft/applicationinsights-common';
import { IPageViewPerformanceTelemetryInternal } from '@microsoft/applicationinsights-common';
import { IPageViewTelemetry } from '@microsoft/applicationinsights-common';
import { IPageViewTelemetryInternal } from '@microsoft/applicationinsights-common';
import { IPlugin } from '@microsoft/applicationinsights-core-js';
import { IProcessTelemetryContext } from '@microsoft/applicationinsights-core-js';
import { ITelemetryItem } from '@microsoft/applicationinsights-core-js';
import { ITelemetryPluginChain } from '@microsoft/applicationinsights-core-js';
import { ITraceTelemetry } from '@microsoft/applicationinsights-common';

// @public (undocumented)
export class ApplicationInsights extends BaseTelemetryPlugin implements IAppInsights, IAppInsightsInternal {
    constructor();
    // (undocumented)
    addTelemetryInitializer(telemetryInitializer: (item: ITelemetryItem) => boolean | void): void;
    // (undocumented)
    autoRoutePVDelay: number;
    // (undocumented)
    config: IConfig;
    getCookieMgr(): ICookieMgr;
    // (undocumented)
    static getDefaultConfig(config?: IConfig): IConfig;
    // (undocumented)
    identifier: string;
    // (undocumented)
    initialize(config: IConfiguration & IConfig, core: IAppInsightsCore, extensions: IPlugin[], pluginChain?: ITelemetryPluginChain): void;
    _onerror(exception: IAutoExceptionTelemetry): void;
    // Warning: (ae-forgotten-export) The symbol "PageViewManager" needs to be exported by the entry point applicationinsights-analytics-js.d.ts
    //
    // (undocumented)
    protected _pageViewManager: PageViewManager;
    // Warning: (ae-forgotten-export) The symbol "PageViewPerformanceManager" needs to be exported by the entry point applicationinsights-analytics-js.d.ts
    //
    // (undocumented)
    protected _pageViewPerformanceManager: PageViewPerformanceManager;
    // Warning: (ae-forgotten-export) The symbol "PageVisitTimeManager" needs to be exported by the entry point applicationinsights-analytics-js.d.ts
    //
    // (undocumented)
    protected _pageVisitTimeManager: PageVisitTimeManager;
    // (undocumented)
    priority: number;
    // (undocumented)
    processTelemetry(env: ITelemetryItem, itemCtx?: IProcessTelemetryContext): void;
    // (undocumented)
    queue: Array<() => void>;
    sendExceptionInternal(exception: IExceptionTelemetry, customProperties?: {
        [key: string]: any;
    }, systemProperties?: {
        [key: string]: any;
    }): void;
    sendPageViewInternal(pageView: IPageViewTelemetryInternal, properties?: {
        [key: string]: any;
    }, systemProperties?: {
        [key: string]: any;
    }): void;
    sendPageViewPerformanceInternal(pageViewPerformance: IPageViewPerformanceTelemetryInternal, properties?: {
        [key: string]: any;
    }, systemProperties?: {
        [key: string]: any;
    }): void;
    startTrackEvent(name: string): void;
    startTrackPage(name?: string): void;
    stopTrackEvent(name: string, properties?: {
        [key: string]: string;
    }, measurements?: {
        [key: string]: number;
    }): void;
    stopTrackPage(name?: string, url?: string, properties?: {
        [key: string]: string;
    }, measurement?: {
        [key: string]: number;
    }): void;
    // (undocumented)
    protected _telemetryInitializers: Array<(envelope: ITelemetryItem) => boolean | void>;
    // (undocumented)
    trackEvent(event: IEventTelemetry, customProperties?: ICustomProperties): void;
    trackException(exception: IExceptionTelemetry, customProperties?: ICustomProperties): void;
    trackMetric(metric: IMetricTelemetry, customProperties?: ICustomProperties): void;
    trackPageView(pageView?: IPageViewTelemetry, customProperties?: ICustomProperties): void;
    trackPageViewPerformance(pageViewPerformance: IPageViewPerformanceTelemetry, customProperties?: ICustomProperties): void;
    trackTrace(trace: ITraceTelemetry, customProperties?: ICustomProperties): void;
    // (undocumented)
    static Version: string;
}

// @public
export interface IAppInsightsInternal {
    // (undocumented)
    sendPageViewInternal(pageViewItem: IPageViewTelemetryInternal, properties?: Object, systemProperties?: Object): void;
    // (undocumented)
    sendPageViewPerformanceInternal(pageViewPerformance: IPageViewPerformanceTelemetryInternal, properties?: Object, systemProperties?: Object): void;
}


// (No @packageDocumentation comment for this package)

```
