import { _ as TestRunVerificationOutcome, a as TestRunIsolation, c as TestRunSelection, d as TestRunSuiteKind, f as TestRunSuiteOutcome, g as TestRunVerification, h as TestRunTargetKind, i as TestRunEvidence, l as TestRunSuiteExecution, m as TestRunTargetId, n as TEST_RUN_EVIDENCE_FORMAT_VERSION, o as TestRunRetainedEvidence, p as TestRunTargetExecution, r as TestRunArtifact, s as TestRunRunner, t as TEST_RUN_EVIDENCE_FORMAT, u as TestRunSuiteId } from "./test-run-model-CF2EYJOQ.mjs"; //#region src/test-run.d.ts /** * Cross-reference constraints derived from the literals in one record. * * Keeping this type separate makes editor diagnostics point at the authored * reference instead of widening every identifier to `string`. */ type TestRunReferenceConstraints = { readonly selection?: { readonly targetIds: readonly TestRunTargetId[]; readonly suiteIds: readonly TestRunSuiteId[]; }; readonly suites?: readonly (TestRunSuiteExecution> & { readonly targetId: TestRunTargetId; })[]; }; /** * Defines a test-run evidence record while preserving every authored literal. * * The candidate selection and every suite's target reference are checked * against identifiers recorded in the same object. The function returns its * input without allocation or runtime work; use the `/test-run/validate` * entry before trusting a record. * * @example * ```ts * const evidence = defineTestRunEvidence({ * format: "vize.test-run.evidence", * id: "run-1", * application: "shop", * // ...bindings, runner, selection, targets, suites, verification * }); * ``` */ declare function defineTestRunEvidence(evidence: Evidence & TestRunReferenceConstraints>): Evidence; //#endregion export { TEST_RUN_EVIDENCE_FORMAT, TEST_RUN_EVIDENCE_FORMAT_VERSION, type TestRunArtifact, type TestRunEvidence, type TestRunIsolation, TestRunReferenceConstraints, type TestRunRetainedEvidence, type TestRunRunner, type TestRunSelection, type TestRunSuiteExecution, type TestRunSuiteId, type TestRunSuiteKind, type TestRunSuiteOutcome, type TestRunTargetExecution, type TestRunTargetId, type TestRunTargetKind, type TestRunVerification, type TestRunVerificationOutcome, defineTestRunEvidence }; //# sourceMappingURL=test-run.d.mts.map