import type { Project } from "../config.js"; import { type HostingAdapter, type RunRecord } from "../domain.js"; import type { Store } from "../store.js"; export declare function guardsStep(name: string): boolean; /** * Throw a BlockedError when the Run's effects exceed its admitted * authorization: changed contract or source, disabled policy, a pending gate, * changed paths beyond the track, or incomplete validation before non-draft * publication. Escalating a Work Item Run records a `work-escalated` event. */ export declare function guardWork(run: RunRecord, project: Project, dependencies: { store: Store; hosting: HostingAdapter; }): Promise; /** Configured checks plus the contract's and matching risk rules' profiles. */ export declare function requiredValidation(run: RunRecord, project: Project): Project["validation"]; /** Every required check ran, in order, with its current arguments, and passed. */ export declare function validationComplete(run: RunRecord, project: Project): boolean;