/// import type { IDatabaseEncoding } from '../../storage/database/types'; import { Side } from '../merkletree'; export type NodeValue = LeftNodeValue | RightNodeValue; type LeftNodeValue = { side: Side.Left; hashOfSibling: H; parentIndex: number; }; type RightNodeValue = { side: Side.Right; hashOfSibling: H; leftIndex: number; }; export declare class NodeEncoding implements IDatabaseEncoding> { serialize(value: NodeValue): Buffer; deserialize(buffer: Buffer): NodeValue; getSize(): number; } export {}; //# sourceMappingURL=nodes.d.ts.map