import type { GridRowId, GridRowMeta } from '../../types'; import type { Collection } from '../../data-tools/types'; export type GridRowState = { collection: Collection; expanded: Set; expandedControlled: boolean; treeCache: null | { rowCount: number; levels: Map; }; _lastUpdate?: unknown; }; export declare const selectRow: (state: GridRowState, rowId: GridRowId) => any; export declare const selectRowMeta: (state: GridRowState, rowId: GridRowId) => GridRowMeta; declare const _default: import("../utils").CreateReducerReturn; export default _default; export declare const selectRowCollection: (state: GridRowState) => Collection; export declare const selectRowLevel: (state: GridRowState, rowId: GridRowId) => number; export declare const selectRowLevelMap: (state: GridRowState) => Map | undefined; export declare const selectIsRowExpandable: (state: GridRowState, rowId: GridRowId) => boolean; export declare const selectIsRowLoaded: (state: GridRowState, rowId: GridRowId) => boolean; export declare const selectAreExpandedRowsControlled: (state: GridRowState) => boolean; export declare const selectExpandedRows: (state: GridRowState) => Set; export declare const selectIsRowExpanded: (state: GridRowState, rowId: GridRowId) => boolean; export declare const selectRowsExpanded: (state: GridRowState) => Set; export declare const selectCanDragRow: (state: GridRowState, rowId: GridRowId) => boolean; export declare const generateSelectors: () => { selectAllExpandable: ((state: GridRowState) => Set) & { clearCache: () => void; resultsCount: () => number; resetResultsCount: () => void; } & { resultFunc: (resultFuncArgs_0: Map) => Set; memoizedResultFunc: ((resultFuncArgs_0: Map) => Set) & { clearCache: () => void; resultsCount: () => number; resetResultsCount: () => void; }; lastResult: () => Set; dependencies: [(state: GridRowState) => Map]; recomputations: () => number; resetRecomputations: () => void; dependencyRecomputations: () => number; resetDependencyRecomputations: () => void; } & { memoize: typeof import("reselect").weakMapMemoize; argsMemoize: typeof import("reselect").weakMapMemoize; }; selectExpandedState: ((state: GridRowState) => "none" | "some" | "all") & { clearCache: () => void; resultsCount: () => number; resetResultsCount: () => void; } & { resultFunc: (resultFuncArgs_0: Set, resultFuncArgs_1: Set) => "none" | "some" | "all"; memoizedResultFunc: ((resultFuncArgs_0: Set, resultFuncArgs_1: Set) => "none" | "some" | "all") & { clearCache: () => void; resultsCount: () => number; resetResultsCount: () => void; }; lastResult: () => "none" | "some" | "all"; dependencies: [(state: GridRowState) => Set, ((state: GridRowState) => Set) & { clearCache: () => void; resultsCount: () => number; resetResultsCount: () => void; } & { resultFunc: (resultFuncArgs_0: Map) => Set; memoizedResultFunc: ((resultFuncArgs_0: Map) => Set) & { clearCache: () => void; resultsCount: () => number; resetResultsCount: () => void; }; lastResult: () => Set; dependencies: [(state: GridRowState) => Map]; recomputations: () => number; resetRecomputations: () => void; dependencyRecomputations: () => number; resetDependencyRecomputations: () => void; } & { memoize: typeof import("reselect").weakMapMemoize; argsMemoize: typeof import("reselect").weakMapMemoize; }]; recomputations: () => number; resetRecomputations: () => void; dependencyRecomputations: () => number; resetDependencyRecomputations: () => void; } & { memoize: typeof import("reselect").weakMapMemoize; argsMemoize: typeof import("reselect").weakMapMemoize; }; selectAllDescendantsForIds: ((state: any, rowIds: GridRowId[]) => Set) & { clearCache: () => void; resultsCount: () => number; resetResultsCount: () => void; } & { resultFunc: (resultFuncArgs_0: Map, resultFuncArgs_1: GridRowId[]) => Set; memoizedResultFunc: ((resultFuncArgs_0: Map, resultFuncArgs_1: GridRowId[]) => Set) & { clearCache: () => void; resultsCount: () => number; resetResultsCount: () => void; }; lastResult: () => Set; dependencies: [(state: GridRowState) => Map, (_: any, rowIds: GridRowId[]) => GridRowId[]]; recomputations: () => number; resetRecomputations: () => void; dependencyRecomputations: () => number; resetDependencyRecomputations: () => void; } & { memoize: typeof import("reselect").weakMapMemoize; argsMemoize: typeof import("reselect").weakMapMemoize; }; selectAllExpandableDescendants: ((state: any, rowId: GridRowId) => Set) & { clearCache: () => void; resultsCount: () => number; resetResultsCount: () => void; } & { resultFunc: (resultFuncArgs_0: Map, resultFuncArgs_1: GridRowId) => Set; memoizedResultFunc: ((resultFuncArgs_0: Map, resultFuncArgs_1: GridRowId) => Set) & { clearCache: () => void; resultsCount: () => number; resetResultsCount: () => void; }; lastResult: () => Set; dependencies: [(state: GridRowState) => Map, (_: any, rowId: GridRowId) => GridRowId]; recomputations: () => number; resetRecomputations: () => void; dependencyRecomputations: () => number; resetDependencyRecomputations: () => void; } & { memoize: typeof import("reselect").weakMapMemoize; argsMemoize: typeof import("reselect").weakMapMemoize; }; }; //# sourceMappingURL=row.d.ts.map