export interface ReceiptEvent { schemaVersion: "receipt-event/1.0"; domain: string; transactionId: string; sequence: number; previousEventHash: string | null; snapshotHash: string; snapshot: T; eventHash: string; } export interface LkgRecord { schemaVersion: "lkg-record/1.0"; domain: string; transactionId: string; sequence: number; previousRecordHash: string | null; receiptEventHash: string; planHash: string; observedHash: string; recordHash: string; } export interface ReceiptKey { root: string; stateDirectory?: "harness" | ".harness"; domain: string; transactionId: string; } export interface ReceiptProjection { root: string; path: string; } /** Includes durable receipts whose LKG append has not completed. Callers still validate each chain. */ export declare function listReceiptTransactions(args: Pick): string[]; export declare function readReceiptChain(args: ReceiptKey & { compatibilitySnapshot?: unknown; }): ReceiptEvent[]; export declare function readLatestReceiptEvent(args: ReceiptKey & { compatibilitySnapshot?: unknown; }): ReceiptEvent | null; /** Persist the immutable event before updating its mutable compatibility projection. */ export declare function appendReceiptEvent(args: ReceiptKey & { snapshot: T; projection?: ReceiptProjection; }): ReceiptEvent; export declare function readLkgChain(args: Pick): LkgRecord[]; export declare function readLatestLkgRecord(args: Pick): LkgRecord | null; /** Record only an explicit, already-persisted applied receipt event as last-known-good. */ export declare function appendLkgRecord(args: ReceiptKey & { appliedReceiptEventHash: string; planHash: string; observedHash: string; }): LkgRecord; //# sourceMappingURL=service.d.ts.map