/*! * Vuepress Simple Sidebar Plugin * Copyright 2020 Dimitrios Psarrou * Licensed under MIT (https://github.com/dpsarrou/vuepress-simple-sidebar/blob/master/LICENSE) */ export declare class Tree { private pathSeparator; private tree; constructor(pathSeparator?: string); toObject(): PojoNode[]; private convertToObject; map(callback: (node: TreeNode) => any): any[]; addNode(key: string, value: any): TreeNode; private findInTree; private createNode; private joinPath; } export interface TreeNode { path: string; value: any; children: Map; } interface PojoNode { path: string; value: any; children: object[]; } export {};