import { WebPlugin } from '@capacitor/core';
import { NewRelicCapacitorPluginPlugin, AgentConfiguration, DTHeaders, HttpHeadersTracking, NREnums } from './definitions';
export declare class NewRelicCapacitorPluginWeb extends WebPlugin implements NewRelicCapacitorPluginPlugin {
    start(_options: {
        appKey: string;
        agentConfiguration?: AgentConfiguration | undefined;
    }): void;
    setUserId(_options: {
        userId: string;
    }): void;
    setAttribute(_options: {
        name: string;
        value: string;
    }): void;
    removeAttribute(_options: {
        name: string;
    }): void;
    recordBreadcrumb(_options: {
        name: string;
        eventAttributes: object;
    }): void;
    recordCustomEvent(_options: {
        eventType: string;
        eventName: string;
        attributes: object;
    }): void;
    startInteraction(_options: {
        value: string;
    }): Promise<{
        value: string;
    }>;
    endInteraction(_options: {
        interactionId: string;
    }): void;
    crashNow(_options?: {
        message: string;
    } | undefined): void;
    currentSessionId(_options?: {} | undefined): Promise<{
        sessionId: string;
    }>;
    incrementAttribute(_options: {
        name: string;
        value?: number | undefined;
    }): void;
    noticeNetworkFailure(_options: {
        url: string;
        method: string;
        startTime: number;
        endTime: number;
        failure: string;
    }): void;
    noticeHttpTransaction(_options: {
        url: string;
        method: string;
        status: number;
        startTime: number;
        endTime: number;
        bytesSent: number;
        bytesReceived: number;
        body: string;
    }): void;
    recordMetric(_options: {
        name: string;
        category: string;
        value?: number | undefined;
        countUnit?: string | undefined;
        valueUnit?: string | undefined;
    }): void;
    removeAllAttributes(_options?: {} | undefined): void;
    setMaxEventBufferTime(_options: {
        maxBufferTimeInSeconds: number;
    }): void;
    setMaxEventPoolSize(_options: {
        maxPoolSize: number;
    }): void;
    setMaxOfflineStorageSize(_options: {
        megaBytes: number;
    }): void;
    recordError(_options: {
        name: string;
        message: string;
        stack: string;
        isFatal: boolean;
        attributes?: object;
    }): void;
    analyticsEventEnabled(_options: {
        enabled: boolean;
    }): void;
    networkRequestEnabled(_options: {
        enabled: boolean;
    }): void;
    networkErrorRequestEnabled(_options: {
        enabled: boolean;
    }): void;
    httpResponseBodyCaptureEnabled(_options: {
        enabled: boolean;
    }): void;
    getAgentConfiguration(_options?: {} | undefined): Promise<AgentConfiguration>;
    shutdown(_options?: {} | undefined): void;
    generateDistributedTracingHeaders(_options: {}): Promise<DTHeaders>;
    addHTTPHeadersTrackingFor(_options: {
        headers: string[];
    }): any;
    log(_options: {
        level: NREnums.LogLevel;
        message: string;
    }): void;
    logError(_options: {
        message: string;
    }): void;
    logWarning(_options: {
        message: string;
    }): void;
    logAll(_options: {
        error: string;
        attributes: object;
    }): void;
    logInfo(_options: {
        message: string;
    }): void;
    logVerbose(_options: {
        message: string;
    }): void;
    logDebug(_options: {
        message: string;
    }): void;
    logAttributes(_options: {
        attributes: Map<string, any>;
    }): void;
    getHTTPHeadersTrackingFor(): Promise<HttpHeadersTracking>;
}
