/// import { Level } from "level"; import { Hasher } from './types/index.js'; import { TreeBase } from './tree_base.js'; /** * Creates a new tree. * @param c - The class of the tree to be instantiated. * @param db - A database used to store the Merkle tree data. * @param hasher - A hasher used to compute hash paths. * @param name - Name of the tree. * @param depth - Depth of the tree. * @param prefilledSize - A number of leaves that are prefilled with values. * @returns The newly created tree. */ export declare function newTree(c: new (...args: any[]) => T, db: Level, hasher: Hasher, name: string, depth: number, prefilledSize?: number): Promise;