import { type known } from "https://deno.land/x/capi@v0.1.1-beta.1/rpc/mod.ts";
const { LeafIndex } = known;
A type to describe leaf position in the MMR.
Note this is different from [NodeIndex
], which can be applied to
both leafs and inner nodes. Leafs will always have consecutive LeafIndex
,
but might be actually at different positions in the MMR NodeIndex
.