/// import { UInt256 } from '@neo-one/client-common'; export declare const InvalidMerkleTreeException: { new (): { readonly name: string; readonly code: string; message: string; stack?: string | undefined; }; captureStackTrace(targetObject: Object, constructorOpt?: Function | undefined): void; prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined; stackTraceLimit: number; }; declare class MerkleTreeNode { readonly hash: UInt256; leftChild: MerkleTreeNode | undefined; rightChild: MerkleTreeNode | undefined; parent: MerkleTreeNode | undefined; constructor({ hash, leftChild, rightChild, parent, }: { readonly hash: UInt256; readonly leftChild?: MerkleTreeNode; readonly rightChild?: MerkleTreeNode; readonly parent?: MerkleTreeNode; }); clone(parent?: MerkleTreeNode): MerkleTreeNode; } export declare class MerkleTree { static computeRoot(hashes: readonly UInt256[]): UInt256; readonly root: MerkleTreeNode; readonly depth: number; constructor(hashesOrNode: readonly UInt256[] | MerkleTreeNode); trim(flags: readonly boolean[]): MerkleTree; depthFirstSearch(): readonly UInt256[]; toHashArray(): readonly UInt256[]; } export {};