export declare const CONFORMANCE_REPORT_SCHEMA_VERSION = "safe-docx-conformance-report/v1"; export declare const FIXTURE_MANIFEST_SCHEMA_VERSION = "safe-docx-fixture-manifest/v1"; export type ConformanceFailureCode = 'ZIP_OPEN_FAILED' | 'OPC_PART_MISSING' | 'XML_PARSE_FAILED' | 'PLACEHOLDER_LEAK' | 'UNEXPECTED_TEXT_MUTATION' | 'TRACKED_CHANGES_OUTPUT_FAILED' | 'NON_DETERMINISTIC_RESULT' | 'TOOL_OPERATION_FAILED' | 'NOT_COVERED'; export type ConformanceCheckStatus = 'PASS' | 'FAIL' | 'NOT_COVERED'; export type ConformanceFixtureStatus = 'PASS' | 'FAIL' | 'NOT_COVERED'; export type FixtureSourceType = 'local_repo' | 'open_agreements_optional'; export type FixtureCheckId = 'zip_open' | 'opc_part_document_xml' | 'xml_parse' | 'toon_roundtrip_equivalence' | 'deterministic_replace_text_toon' | 'tracked_changes_output' | 'placeholder_leak'; export type FixtureOperationId = 'preflight' | 'toon_roundtrip' | 'deterministic_replace_text' | 'tracked_changes_output' | 'placeholder_leak_scan'; export type FixtureEditSpec = { old_string: string; new_string: string; }; export type FixtureManifestEntry = { fixture_id: string; source_path: string; source_type: FixtureSourceType; category: string; operations_to_run: FixtureOperationId[]; expected_checks: FixtureCheckId[]; notes?: string; edit_spec?: FixtureEditSpec; }; export type FixtureManifest = { schema_version: string; fixtures: FixtureManifestEntry[]; }; export type ConformanceCheckResult = { check_id: FixtureCheckId; status: ConformanceCheckStatus; failure_code?: ConformanceFailureCode; message: string; }; export type FixtureConformanceResult = { fixture_id: string; source_path: string; source_type: FixtureSourceType; category: string; status: ConformanceFixtureStatus; checks: ConformanceCheckResult[]; }; export type ConformanceReport = { schema_version: string; generated_at: string; mode: 'full' | 'smoke'; repo_root: string; options: { deterministic_runs: number; open_agreements_root?: string; }; fixtures_total: number; fixtures_passed: number; fixtures_failed: number; checks_passed: number; checks_failed: number; not_covered_count: number; fixtures: FixtureConformanceResult[]; }; export type HarnessOptions = { manifestPath: string; repoRoot: string; mode?: 'full' | 'smoke'; deterministicRuns?: number; openAgreementsRoot?: string; }; export declare function getExitCode(report: ConformanceReport): number; export declare function loadFixtureManifest(manifestPath: string): Promise; export declare function runConformanceHarness(options: HarnessOptions): Promise; export declare function computeManifestFixtureHashes(repoRoot: string, manifest: FixtureManifest, openAgreementsRoot?: string): Promise>; //# sourceMappingURL=harness.d.ts.map