import type { RowDataType } from '../types'; /** * Flatten the tree data with parent association recorded on each node * @param tree tree data */ declare function flattenData>(tree: readonly Row[], parent?: Row): Row[]; export default flattenData;