/// import { EventEmitter } from "events"; import { Test } from "./test-object"; import { Config } from "../config"; import { BrowserConfig } from "../config/browser-config"; import type { ReadTestsOpts } from "../testplane"; import { TagFilter } from "../utils/cli"; import type { ProfilerRuntimeLike } from "../profiler/runtime/types"; export type TestParserParseOpts = { browserId: string; grep?: RegExp; tag?: TagFilter; config: BrowserConfig; }; type LoadFilesOpts = { config: Config; runnableOpts?: ReadTestsOpts["runnableOpts"]; }; export declare class TestParser extends EventEmitter { #private; constructor(profiler?: ProfilerRuntimeLike); loadFiles(files: string[], { config, runnableOpts }: LoadFilesOpts): Promise; parse(files: string[], { browserId, config, grep, tag }: TestParserParseOpts): Test[]; } export {};