import type { Repo } from "../api/repo.ts"; import type { Actor, EvidenceKind } from "../objects/types.ts"; /** A single validation step: what kind of evidence it produces + the shell command. */ export interface CheckSpec { kind: EvidenceKind; command: string; } /** * Materialize the view, write it to `workspaceDir`, run each check, and attach a * pass/fail Evidence for every check (exit 0 → "pass", anything else → "fail"). * Returns the oids of the attached Evidence objects, in `checks` order. */ export declare function runChecks(repo: Repo, opts: { ops: string[]; view?: string; /** Validate a workspace view (docs/16): base + that workspace's isolated ops. */ workspace?: string; workspaceDir: string; /** * Materialize the view into `workspaceDir` before running (default true). Set false to * run in place when the dir already holds the tree + build env (e.g. the working tree) — * this is what lets validate_run work for Node/pnpm without avcs owning install (#11). */ project?: boolean; ciActor: Actor; checks: CheckSpec[]; }): Promise; //# sourceMappingURL=runner.d.ts.map