import type { LoopRecord, ReceiptIntegritySummary, ReceiptScope } from "../../contracts/index.js"; export interface ReceiptIntegrityChainEntry { index: number; eventId?: string; type?: string; kind?: string; timestamp?: string; prevHash: string; entryHash: string; } export interface StoredReceiptIntegrityMaterial { schemaVersion: "martin.receipt-integrity.v1"; runId: string; keyId: string; signedAt: string; scope?: ReceiptScope; loopRecordSha256: string; ledgerSha256: string; ledgerHeadHash: string; entryCount: number; chain: ReceiptIntegrityChainEntry[]; signatureHmacSha256: string; } export declare function resolveReceiptIntegrityRoot(env?: NodeJS.ProcessEnv): string; export declare function writeReceiptIntegrityMaterial(input: { runId: string; runsRoot: string; loopRecord: LoopRecord; ledgerEntries: unknown[]; scope?: ReceiptScope; signedAt?: string; }): Promise; export declare function verifyReceiptIntegrityFromFiles(input: { runId: string; runsRoot: string; loopRecordPath: string; ledgerPath: string; }): Promise; export declare function resolveReceiptIntegrityPath(runsRoot: string, runId: string): string;