import type { ArtifactResourceScope } from "../../src/artifacts/ArtifactResourceScope.js"; import type { RetainedResourceScope } from "../../src/application/AnalysisProvider.js"; /** Complete a prerequisite operation, including retained cleanup on failure. */ export function withVerifierResourceOwner( operation: (owner: RetainedResourceScope) => Promise, ): Promise; /** Hash one verifier input and transfer failed-close ownership to its scope. */ export function hashVerifierFile( path: string, resources: Pick, ): Promise<{ readonly bytes: number; readonly sha256: string }>;