import type { VerificationStepEvidence } from "./result-stage-parsers.js"; import type { KernelPaths } from "./types.js"; declare const PROMPT_SCHEMA = "grader-prompt-view.v1"; declare const FIXED_GRADER_RUBRIC: Readonly<{ schema_version: "oms-grade-rubric.v1"; rules: readonly string[]; }>; interface RawVerificationStep { readonly id: string; readonly passed: boolean; readonly status: number | null; readonly stdout: string; readonly stderr: string; } interface PromptStreamExcerpt { readonly full_digest: string; readonly excerpt_digest: string; readonly truncated: boolean; readonly text: string; } interface PromptVerificationStep { readonly id: string; readonly passed: boolean; readonly status: number | null; readonly stdout: PromptStreamExcerpt; readonly stderr: PromptStreamExcerpt; } export interface GraderPromptView extends Readonly> { readonly schema_version: typeof PROMPT_SCHEMA; readonly authority_evidence: Readonly>; readonly deterministic_checks: { readonly artifact_digest: string; readonly verification_operation_id: string; readonly verification_evidence_digest: string; readonly steps: readonly PromptVerificationStep[]; }; readonly candidate_diff: { readonly base_commit: string; readonly result_commit: string; readonly sha256: string; readonly text: string; }; readonly rubric: typeof FIXED_GRADER_RUBRIC; } export declare function persistVerificationPromptArtifact(paths: KernelPaths, input: { readonly verificationOperationId: string; readonly verificationEvidenceDigest: string; readonly stepEvidence: readonly VerificationStepEvidence[]; readonly steps: readonly RawVerificationStep[]; }): string; export declare function buildGraderPromptView(paths: KernelPaths, input: { readonly authorityEvidence: Readonly>; readonly verificationOperationId: string; readonly verificationEvidenceDigest: string; readonly stepEvidence: readonly VerificationStepEvidence[]; readonly worktreePath: string; readonly baseCommit: string; readonly resultCommit: string; }): GraderPromptView; export {};