import { Branch } from './Branch.js'; import { DataHash } from '../hash/DataHash.js'; import { HashAlgorithm } from '../hash/HashAlgorithm.js'; export declare class RootNode { readonly left: Branch | null; readonly right: Branch | null; readonly hash: DataHash; readonly path: bigint; constructor(left: Branch | null, right: Branch | null, hash: DataHash); static create(algorithm: HashAlgorithm, left: Branch | null, right: Branch | null): Promise; toString(): string; }