import { HtmlReportData, HtmlReportFile, HtmlReportTest, PlaywrightMatchingTest, PlaywrightTestReport } from "@empiricalrun/shared-types/playwright-utils";
import type { JSONReport } from "@playwright/test/reporter";
export declare function parsePlaywrightTestReport(jsonReport: JSONReport): PlaywrightTestReport;
export declare const findTestInReport: (reportJson: HtmlReportFile, targetTest: PlaywrightMatchingTest, allFiles: HtmlReportData["files"]) => HtmlReportTest | null;
export interface TestCriteria {
name: string;
file_path: string;
suites: string[];
}
export declare function findMatchingTest(tests: PlaywrightMatchingTest[], testCriteria: TestCriteria): PlaywrightMatchingTest | null;
export declare function fetchAndFindTestCase(summaryJsonUrl: string, testCriteria: TestCriteria): Promise;
//# sourceMappingURL=playwright-report-parser.d.ts.map