import * as interfaces from './interfaces/index.js';
import * as plugins from './plugins.js';
import { Analyzer } from './analytics/analyzer.js';
import type { EdgeWorker } from './classes.edgeworker.js';
export interface ICworkerEventOptions {
    event: plugins.cloudflareTypes.FetchEvent;
    edgeWorkerRef: EdgeWorker;
    passThroughOnException?: boolean;
}
export declare class WorkerEvent {
    options: ICworkerEventOptions;
    analyzer: Analyzer;
    private responseDeferred;
    private waitUntilDeferred;
    private response;
    private waitList;
    responderInstruction: interfaces.IResponderInstruction;
    routedThroughRendertron: boolean;
    isPreflight: boolean;
    request: plugins.cloudflareTypes.Request;
    parsedUrl: URL;
    constructor(optionsArg: ICworkerEventOptions);
    get hasResponse(): boolean;
    addToWaitList(promiseArg: Promise<any>): void;
    private checkWaitList;
    setResponse(responseArg: Response): void;
}
