import { CTRFReport, IngestResponse } from '@jira-test-manager/shared-types';
import type { Logger } from './core';
/**
 * Options for uploading artifacts from CTRF report
 */
export interface UploadArtifactsOptions {
    report: CTRFReport;
    reportId: string;
    testResults: IngestResponse['testResults'];
    apiKey: string;
    logger?: Logger;
}
/**
 * Upload all artifacts referenced in the CTRF report
 * Returns the number of successfully uploaded artifacts
 */
export declare function uploadArtifactsFromCTRF(options: UploadArtifactsOptions): Promise<number>;
/**
 * Format file size in human-readable format
 */
export declare function formatFileSize(bytes: number): string;
/**
 * Validate that a CTRF report has the required structure
 */
export declare function validateCTRFReport(report: any, logger?: Logger): report is CTRFReport;
