import type { QualityIntelligenceExportBundle, QualityIntelligenceTestCaseCandidate } from "@oscharko-dev/keiko-contracts";
import type { QualityIntelligenceExportFormat } from "./formats.js";
export interface SerializedExportBundle {
    readonly format: QualityIntelligenceExportFormat;
    readonly body: string;
    readonly byteLen: number;
}
/**
 * Serialise an export bundle by dispatching on `bundle.targetAdapter`. The contract
 * invariant is asserted up front (TMS-bound bundles MUST carry
 * `redactionAttested === true`) before any adapter is invoked.
 *
 * `byteLen` is the UTF-8 byte length of the body — what an evidence side-file would
 * persist, which is what callers downstream need for capacity accounting.
 */
export declare function serializeExportBundle(bundle: QualityIntelligenceExportBundle, candidates: readonly QualityIntelligenceTestCaseCandidate[]): SerializedExportBundle;
//# sourceMappingURL=serialize.d.ts.map