import { type MouseEvent } from 'react'; import type { CellValue } from '../../../types'; import { type NestedChildrenProps } from '../NestedChildren'; type UseLogicParams> = NestedChildrenProps; export declare const useLogic: >({ rowId, data, level, variant, initialVisibleChildrenCount, }: UseLogicParams) => { isShowAllChildren: boolean; isShowMoreButton: boolean; isShowConnector: boolean; initialVisibleChildren: (TData & { options?: import("../../../types").DataGridRowOptions | undefined; })[]; otherChildren: (TData & { options?: import("../../../types").DataGridRowOptions | undefined; })[]; nextLevel: number; handleToggleShowAllChildren: (event: MouseEvent) => void; }; export {};