import { type Check, type Verdict as LegacyVerdict, VerificationReport } from "../internals/verify.js"; import type { VerificationPipelineRun, VerificationResult } from "./types.js"; export interface StructuredVerificationLegacyOptions { warnAs?: LegacyVerdict; includeMetadata?: boolean; } export interface StructuredVerificationRunCheckOptions extends StructuredVerificationLegacyOptions { name: string; passDetail?: string; } export declare function legacyCheckToVerificationResult(check: Check): VerificationResult; export declare function legacyChecksToVerificationRun(checks: readonly Check[]): VerificationPipelineRun | undefined; export declare function structuredVerificationResultToCheck(result: VerificationResult, options?: StructuredVerificationLegacyOptions): Check; export declare function structuredVerificationRunToChecks(run: VerificationPipelineRun, options?: StructuredVerificationLegacyOptions): Check[]; export declare function structuredVerificationRunToReport(run: VerificationPipelineRun, options?: StructuredVerificationLegacyOptions): VerificationReport; export declare function structuredVerificationRunToCheck(run: VerificationPipelineRun, options: StructuredVerificationRunCheckOptions): Check;