import * as applicationInsights from 'applicationinsights'; import { TelemetryClient } from 'applicationinsights'; import Transport from 'winston-transport'; import { ApplicationInsightsTransportOptions, LogInfo } from './interfaces'; import { APP_INSIGHTS_LOG_LEVELS } from './enums'; declare class ApplicationInsightsTransport extends Transport { client: TelemetryClient; private static resolveConnectionString; private static resolveCredential; logLevelsMap: { audit: APP_INSIGHTS_LOG_LEVELS; critical: APP_INSIGHTS_LOG_LEVELS; debug: APP_INSIGHTS_LOG_LEVELS; error: APP_INSIGHTS_LOG_LEVELS; event: APP_INSIGHTS_LOG_LEVELS; info: APP_INSIGHTS_LOG_LEVELS; security: APP_INSIGHTS_LOG_LEVELS; warning: APP_INSIGHTS_LOG_LEVELS; dependency: APP_INSIGHTS_LOG_LEVELS; request: APP_INSIGHTS_LOG_LEVELS; pageView: APP_INSIGHTS_LOG_LEVELS; }; severityLevelMap: { audit: applicationInsights.Contracts.SeverityLevel; critical: applicationInsights.Contracts.SeverityLevel; debug: applicationInsights.Contracts.SeverityLevel; error: applicationInsights.Contracts.SeverityLevel; event: applicationInsights.Contracts.SeverityLevel; info: applicationInsights.Contracts.SeverityLevel; security: applicationInsights.Contracts.SeverityLevel; warning: applicationInsights.Contracts.SeverityLevel; dependency: applicationInsights.Contracts.SeverityLevel; request: applicationInsights.Contracts.SeverityLevel; pageView: applicationInsights.Contracts.SeverityLevel; }; constructor(options: ApplicationInsightsTransportOptions); log(info: LogInfo, callback: Function): void; private createTrace; private createException; private createEvent; private createDependency; private createRequest; private createPageView; private sendStartupTelemetry; } export default ApplicationInsightsTransport;