import { TreeRepresentation } from "../treerepresentation/TreeRepresentation"; import { Tree } from '../Tree/Tree'; import TreeConfig from '../TreeConfig'; import { NodeIO } from '../IO/NodeIO'; export declare abstract class TreeManager { nodeIO: NodeIO | null; /** * Gets the tree object from the given location. * @param {string} sourceDirectory - base folder of the tree data * @param {*} dataFolder - folder containing the fragment files in the sourceDirectory * @param {*} maxCachedFragments - maximal cachable fragments at once */ readTree(location: string): TreeRepresentation; /** * Creates a new tree object. * @param {treeConfig} config - configuration object for the tree */ createTree(config: TreeConfig): TreeRepresentation; createTreeRepresentation(tree: Tree | null, config: TreeConfig): TreeRepresentation; abstract getTreeRepresentationObjectPrototype(): any; abstract getTreeObjectPrototype(): any; protected getNodeIOObjectPrototype(): any; private sanitizeConfig; }