import type { UseClientDataSourceParams } from "../use-client-data-source.js"; import type { SourceState } from "./use-controlled-ds-state.js"; import { type LeafNodeTuple } from "@1771technologies/lytenyte-core/internal"; import type { GridSpec } from "@1771technologies/lytenyte-core/types"; export declare function useFlattenedData(props: UseClientDataSourceParams, [leafsTop, leafs, leafsBot, pinMap]: LeafNodeTuple, { expandedFn }: SourceState): { tree: import("./use-group-tree/use-group-tree.js").RootNode | null; maxDepth: number; flatten: import("@1771technologies/lytenyte-shared").RowNode[]; rowByIdRef: import("react").RefObject>>; rowByIndexRef: import("react").RefObject>>; rowIdToRowIndexRef: import("react").RefObject>; leafIdsRef: import("react").RefObject>>; leafsTop: import("@1771technologies/lytenyte-shared").RowLeaf[]; leafs: import("@1771technologies/lytenyte-shared").RowLeaf[]; leafsBot: import("@1771technologies/lytenyte-shared").RowLeaf[]; sorted: number[]; groupFn: import("@1771technologies/lytenyte-shared").GroupFn | null; };