/** * Signed checkpoints over every writer's segment head, published first to the * independent sink and then written locally. * * @see docs/contracts/effect-ledger.v1.md "Storage layout" */ import type { CheckpointSink, CheckpointSinkReceipt } from './checkpoint-sinks.js'; import type { EffectLedger } from './ledger.js'; import { type EffectCheckpoint } from './types.js'; export interface WriteCheckpointResult { checkpoint: EffectCheckpoint; digest: string; sink: CheckpointSinkReceipt; } /** * Checkpoint the ledger. The ledger must verify first (against the previous * checkpoint), so a checkpoint never anchors a truncated or edited ledger. */ export declare function writeCheckpoint(ledger: EffectLedger, options?: { sink?: CheckpointSink; }): Promise; //# sourceMappingURL=checkpoint.d.ts.map