import { type CompiledSurfaceFile } from "./compiled-surface.js"; import type { EntropyAuditCall, EntropySurfaceSnapshot, EntropyTraceInput } from "./types.js"; export type EntropyTrialClass = "both-accept" | "both-reject" | "normalization-win" | "tightening-cost" | "typed-failure-win" | "quarantine-win" | "quarantine-cost"; export interface EntropyTrialTotals { operations: number; bothAccept: number; bothReject: number; normalizationWin: number; canonicalIdentityChecks: number; canonicalIdentityCost: number; idempotenceCost: number; tighteningCost: number; typedFailureWin: number; quarantineWin: number; quarantineCost: number; } export interface EntropyTrialDivergence { ref: string; trialClass: EntropyTrialClass; count: number; } export type EntropyTrialVerdict = "no-evidence" | "clean" | "costly"; export interface EntropyTrialReport { verdict: EntropyTrialVerdict; /** Historical invocation rejection rate; normalization never rewrites outcomes. */ declaredScore: number; effectiveScore: number; delta: number; totals: EntropyTrialTotals; divergences: EntropyTrialDivergence[]; } export declare const runEntropyTrial: (input: { traces: readonly EntropyTraceInput[]; live: EntropySurfaceSnapshot; artifact?: CompiledSurfaceFile; auditCalls?: readonly EntropyAuditCall[]; }) => EntropyTrialReport; //# sourceMappingURL=trial.d.ts.map