export interface TreeProps { [key: string]: V | TreeProps; } export default class Tree { static allKeys(...keys: string[]): string[]; static getMap(map?: TreeProps | Tree): TreeProps; private map; constructor(map?: TreeProps | Tree); put(key: string, value: V | TreeProps): any; putAll(map?: TreeProps | Tree): void; get(...keys: string[]): V | TreeProps; tree(...keys: string[]): Tree; remove(...keys: string[]): boolean; clear(): void; length(): number; value(...keys: string[]): V; }