import type { QualityIntelligenceCoverageMapId, QualityIntelligenceExportBundleId, QualityIntelligenceRunId, QualityIntelligenceTestCaseId, QualityIntelligenceValidationFindingId } from "./ids.js";
export type QualityIntelligenceExportAdapter = "jira-issues" | "qtest" | "xray" | "polarion" | "alm" | "csv" | "json" | "spreadsheet-safe-csv" | "markdown" | "plain-text" | "quality-center";
export declare const QUALITY_INTELLIGENCE_EXPORT_ADAPTERS: readonly QualityIntelligenceExportAdapter[];
/** Adapters whose target is an external TMS — they require a redaction attestation. */
export declare const QUALITY_INTELLIGENCE_TMS_ADAPTERS: ReadonlySet<QualityIntelligenceExportAdapter>;
export interface QualityIntelligenceExportBundleEntry {
    readonly candidateId: QualityIntelligenceTestCaseId;
    readonly coverageMapRefs: readonly QualityIntelligenceCoverageMapId[];
    readonly findingRefs: readonly QualityIntelligenceValidationFindingId[];
}
export interface QualityIntelligenceExportBundle {
    readonly id: QualityIntelligenceExportBundleId;
    readonly runId: QualityIntelligenceRunId;
    readonly targetAdapter: QualityIntelligenceExportAdapter;
    /** ISO 8601 timestamp. */
    readonly createdAt: string;
    /** Lowercase hex sha256 over the canonical refs payload. */
    readonly integrityHashSha256Hex: string;
    readonly redactionAttested: boolean;
    readonly contents: readonly QualityIntelligenceExportBundleEntry[];
}
/**
 * Enforce that a TMS-targeted bundle attests redaction, and that the integrity hash
 * field is a well-formed sha256 hex string. Throws `Error` on violation; returns
 * `void` on success.
 */
export declare const assertExportBundleInvariant: (bundle: QualityIntelligenceExportBundle) => void;
//# sourceMappingURL=exportBundle.d.ts.map