///
import { EventEmitter } from "events";
import { Config } from "../../config";
import { Test } from "../../types";
import type { ProfilerRuntimeLike } from "../../profiler/runtime/types";
export type CacheKey = {
file: string;
browserId: string;
};
export type ParseArgs = {
file: string;
browserId: string;
};
export declare class CachingTestParser extends EventEmitter {
private _cache;
private _sequenceTestParser;
private _profiler;
private _sanitizer?;
static create(this: new (...args: any[]) => T, ...args: ConstructorParameters): T;
constructor(config: Config, profiler?: ProfilerRuntimeLike);
parse({ file, browserId }: ParseArgs): Promise;
private _loadUncached;
private _sanitizePath;
private _getFromCache;
private _putToCache;
}