import type { GitHubAnnotationCapability } from './annotations.js';
import type { GitHubSummaryCapability } from './summary.js';
export interface ReportOp {
    kind: 'report';
    reportType: 'junit' | 'coverage';
    path: string;
}
export interface JUnitFailure {
    testName: string;
    message: string;
    file?: string;
    line?: number;
}
export interface JUnitResult {
    total: number;
    passed: number;
    skipped: number;
    duration: number;
    failures: JUnitFailure[];
}
export declare function parseJUnit(content: string): JUnitResult;
export declare class GitHubReportCapability {
    private summary;
    private annotations;
    constructor(summary: GitHubSummaryCapability, annotations: GitHubAnnotationCapability);
    process(op: ReportOp, taskName: string): Promise<void>;
    private processJUnit;
    private processCoverage;
}
//# sourceMappingURL=reports.d.ts.map