export interface NestedMap { value?: T; children?: Map>; } export declare function setToMap(map: NestedMap, path: string[], value: T): void;