import { obj, BaseNode } from "./types"; export declare function genNodeID(): string; export declare function initNode(node: obj): void; export declare function convertTreeDataToFlat(data: T[], childrenKey?: string, idKey?: string): { nodes: (T & BaseNode)[]; nodesByID: Record; }; export declare function convertFlatDataToStandard(data: T[], idKey?: string, pidKey?: string): { nodes: (T & BaseNode)[]; nodesByID: Record; };