/**
 * @sanity/ailf-core — Domain services
 *
 * Pure computation functions with zero I/O. These operate on typed
 * inputs and return typed outputs.
 *
 * Extracted from packages/eval/src/lib/ during the Ports & Adapters
 * migration (Phase 4e).
 */
export { classifyRubric, detectFeatureArea, extractDimensions, extractUrlMetadata, mergeScores, parseRubricScore, } from "./scoring.js";
export { formatComparisonMarkdown, formatComparisonTable, } from "./comparison-formatters.js";
export { aggregateAreas, aggregateDimensions, computeEnsembleScore, computeTaskScore, normalizeScore, type AggregationStrategy, type AreaScore, type AssertionScore, type DimensionScore, type EnsembleGradingConfig, type GraderTransitionConfig, type TaskScore, type TaskScoreOptions, } from "./scoring-engine.js";
export { extractModelName, extractProvider, mergeConfig, modelMatchesMode, resolveModelVariants, } from "./config-helpers.js";
export { buildSlimReportSummary } from "./slim-report-summary.js";
export { reportToMarkdown, type RenderableReport, } from "./report-to-markdown.js";
export { assessReportValidity, REPORT_VALIDITY_RULESET_VERSION, type AssessReportValidityOptions, type ReportValidityAssessment, type ReportValidityInput, type ReportValidityReviewFlag, type ReportValidityReviewReason, } from "./report-validity-detector.js";
export { createDiagnosisRunner, diagnosisVersion, type CardGenerator, type CardRegistry, type DiagnosisRunner, type DiagnosisRunnerDeps, type DiagnosisRunnerRunArgs, type GeneratorContext, } from "./diagnosis-runner.js";
export { cardRegistry, type CardDefinition } from "./diagnosis/registry.js";
export { createLLMClient, type LLMClientAdapters, type LLMClientFactoryConfig, type LLMClientKeys, } from "./llm-client-factory.js";
export { buildFailureModeRefinement, isFailureModeInDimensionTaxonomy, } from "./diagnosis/card-validators.js";
export { CARD_REGISTRY_VERSION, DIAGNOSIS_CARD_GENERATORS, generateAreaSummary, generateFailureModeSummary, generateNoIssues, generateTopRecommendations, generateWeakestArea, generateLowConfidenceAttribution, generateDocAttributionSpotlight, generateRegressionVsBaseline, } from "./diagnosis/cards/index.js";
export { buildTopRecommendationsPrompt, buildWeakestAreaPrompt, buildLowConfidenceAttributionPrompt, buildDocAttributionSpotlightPrompt, buildRegressionVsBaselinePrompt, buildDocSlugAllowList, } from "./diagnosis/prompt-builders.js";
export { evaluateProvenance, mergeProvenancePolicy, OWNER_TEAM_SLUG_PATTERN, SERVER_FLOOR, suggestKnownTeam, type ProvenanceField, type ProvenanceFieldSeverity, type ProvenanceInput, type ProvenancePolicy, type ProvenanceRule, type ProvenanceVerdict, type ProvenanceViolation, type ProvenanceViolationCode, } from "./provenance-policy.js";
export { buildRegistrationError, resolveActiveTeam, type RegistrationError, type RegistrationErrorCode, type RegistrationErrorInput, type ResolveActiveTeamResult, type TeamLookupClient, } from "./resolve-active-team.js";
