import type { ReportFileWithAttributes } from './types';
export declare class ReportMergingTool {
    private reportInfos;
    append(reportInfo: ReportFileWithAttributes): void;
    clear(): void;
    /**
     * Check if a report is in directory mode (html-and-external-assets).
     * Directory mode reports: {name}/index.html + {name}/screenshots/
     */
    private isDirectoryModeReport;
    /**
     * Merge multiple dump script contents (from the same source report)
     * into a single serialized GroupedActionDump string.
     * If there's only one dump, return it as-is. If multiple, merge
     * all executions into the first dump's group structure.
     */
    private mergeDumpScripts;
    mergeReports(reportFileName?: 'AUTO' | string, opts?: {
        rmOriginalReports?: boolean;
        overwrite?: boolean;
    }): string | null;
}
