import { lineageOpId } from "./result-op-ids.js"; import type { KernelPaths } from "./types.js"; export { lineageOpId }; export declare function computeLineageDigest(fields: { readonly task_id: string; readonly attempt: number; readonly result_commit_operation_id: string; readonly result_identity_digest: string; readonly verification_operation_id: string; readonly verification_evidence_digest: string; readonly grade_operation_id: string; readonly grade_output_digest: string; readonly reflection_operation_id: string; readonly reflection_output_digest: string; readonly source_digest: string; readonly goal_version: number; readonly policy_digest: string; readonly run_id: string; }): string; /** * Resolve and validate strict result lineage for retry advice/worktree/launch. * Exact-parses and recomputes every referenced record identity. */ export declare function resolveResultLineage(paths: KernelPaths, runId: string, taskId: string, attempt: number, expectedDigest: string, expectedOperationId?: string | null): Readonly>;