import type { RowAggregated, RowGroup, RowLeaf } from "@1771technologies/lytenyte-shared";
import type { API, CellParamsWithIndex, GridSpec } from "../types";
import type { ReactNode } from "react";
import { type SlotComponent } from "../hooks/use-slot/index.js";
export declare const RowGroupCell: <Spec extends GridSpec = GridSpec>({ api, row, leafLabel, groupLabel, aggLabel, expansionSlot, }: CellParamsWithIndex<Spec> & {
    leafLabel?: (row: RowLeaf<Spec["data"]>, api: API<Spec>) => ReactNode;
    groupLabel?: (row: RowGroup, api: API<Spec>) => ReactNode;
    aggLabel?: (row: RowAggregated, api: API<Spec>) => ReactNode;
    expansionSlot?: SlotComponent<{
        readonly row: RowGroup;
        readonly api: API<Spec>;
    }>;
}) => import("react/jsx-runtime").JSX.Element;
