import EventEmitter from 'events';
export declare class JUnitReporter {
    private reportFile;
    private fileFd?;
    private logger;
    private creeveyReporter;
    private suites;
    private runStartTime;
    private suiteStartTimes;
    constructor(runner: EventEmitter, options: {
        reportDir: string;
        reporterOptions?: {
            outputFile?: string;
        };
    });
    private suiteKey;
    private getOrCreateSuite;
    private isImageMismatch;
    private writeElement;
    private writeTasks;
    private normalizePath;
    private relativeAttachmentPath;
    private gitlabAttachmentPath;
    private preferredGitlabAttachment;
    private writeAttachments;
    private writeFailureOrError;
    private onFinished;
}
