import type { WorkerEvent } from '../classes.workerevent.js';
import * as plugins from '../plugins.js';
export interface IAnalyticsData {
    requestAgent: string;
    requestUrl: string;
    requestMethod: string;
    requestStartTime: number;
    responseStatus: number;
    responseEndTime: number;
}
export declare class Analyzer {
    cworkerEventRef: WorkerEvent;
    data: IAnalyticsData;
    finishedDeferred: plugins.smartpromise.Deferred<unknown>;
    constructor(cworkerEventRefArg: WorkerEvent);
    smartlog: plugins.smartlog.Smartlog;
    setRequestData(optionsArg: {
        requestAgent: string;
        requestUrl: string;
        requestMethod: string;
    }): void;
    setResponseData(optionsArg: {
        responseStatus: number;
        responseEndTime: number;
    }): void;
    sendLogs(): Promise<void>;
}
