import { LeafIndex, NodeIndex } from './merkletree'; /** * Is the given leaf a right child or left child of its parent node. * * Leaves are added in order, so this is the same as asking if the index * is an od number */ export declare function isRight(index: LeafIndex): boolean; /** * Is the given node index the empty node above the root node? */ export declare function isEmpty(index: NodeIndex | undefined): index is undefined | 0; /** * The depth of the tree when it contains a certain number of leaf nodes */ export declare function depthAtLeafCount(size: number): number; //# sourceMappingURL=utils.d.ts.map