export declare type DynamicNestedType = { ID: string; parentIDs: string[]; children?: any; [key: string]: any; }; export declare const flatToNested: (arr: DynamicNestedType[]) => DynamicNestedType[];