import { DatoGridOptions, DatoGridTreeConfig } from './grid-v2.types'; export declare const ROOT_NODE_ID = "ROOT_NODE_ID"; export declare function createDefaultTreeOptions(maxDepth?: number): Partial; export declare const defaultTreeOptions: Partial; export declare const defaultGridOptions: Partial; export declare const DEFAULT_GRID_SEARCH_DEBOUNCE_TIME: { CLIENT: number; SERVER: number; }; export declare const defaultGridTreeLabel: DatoGridTreeConfig; export declare const gridTreeFilePathKey = "agGridFilePath"; /** * Convert data into tree shaped structure. * @param data * @param gridTreeConfig */ export declare function convertToTreeData(data: T[], gridTreeConfig: DatoGridTreeConfig): T[]; /** * Convert the grids data from tree shape to original shape. * @param data * @param gridTreeConfig */ export declare function convertFromTreeData(data: T[], gridTreeConfig: DatoGridTreeConfig): T[];