"""Mechanically verifiable contracts for Vera financial analysis."""

from __future__ import annotations

from vera_assurance.serialization import canonical_json_sha256

from .contracts import (
    REGISTERED_ANALYSIS_PACK_RECIPES,
    REGISTERED_ANALYSIS_PACKS,
    FinancialAnalysisContractError,
    build_analysis_pack_request,
    build_crosswalk_manifest,
    build_data_package_manifest,
    build_dataset_contract,
    build_prepared_evidence_manifest,
    build_reconciliation_result,
    build_relationship_contract,
    validate_analysis_pack_request,
    validate_crosswalk_manifest,
    validate_data_package_manifest,
    validate_dataset_contract,
    validate_prepared_evidence_manifest,
    validate_reconciliation_result,
    validate_relationship_contract,
)
from .fdd import (
    FDD_ENGINE_VERSION,
    FDD_OUTPUT_ROLES,
    FDD_PACK_RECIPES,
    FDDContractError,
    build_contingent_liability_register,
    build_fdd_case,
    build_fdd_metric_receipt,
    build_financial_issue_register,
    execute_fdd_case,
    validate_contingent_liability_register,
    validate_fdd_calculation_result,
    validate_fdd_case,
    validate_fdd_metric_receipt,
    validate_financial_issue_register,
)

__all__ = [
    "FinancialAnalysisContractError",
    "FDD_ENGINE_VERSION",
    "FDD_OUTPUT_ROLES",
    "FDD_PACK_RECIPES",
    "FDDContractError",
    "REGISTERED_ANALYSIS_PACKS",
    "REGISTERED_ANALYSIS_PACK_RECIPES",
    "build_analysis_pack_request",
    "build_contingent_liability_register",
    "build_crosswalk_manifest",
    "build_data_package_manifest",
    "build_dataset_contract",
    "build_fdd_case",
    "build_fdd_metric_receipt",
    "build_financial_issue_register",
    "build_prepared_evidence_manifest",
    "build_reconciliation_result",
    "build_relationship_contract",
    "canonical_json_sha256",
    "execute_fdd_case",
    "validate_analysis_pack_request",
    "validate_crosswalk_manifest",
    "validate_data_package_manifest",
    "validate_dataset_contract",
    "validate_fdd_calculation_result",
    "validate_fdd_case",
    "validate_fdd_metric_receipt",
    "validate_financial_issue_register",
    "validate_contingent_liability_register",
    "validate_prepared_evidence_manifest",
    "validate_reconciliation_result",
    "validate_relationship_contract",
]
