import type { AggModelFn, DropEventParams, Grid } from "../+types.js";
import type { GridBoxItem } from "./+types.js";
export interface UseAggregationBoxItemsProps<T> {
    readonly grid: Grid<T>;
    readonly orientation?: "horizontal" | "vertical";
}
export declare function useAggregationBoxItems<T>({ grid, orientation }: UseAggregationBoxItemsProps<T>): {
    rootProps: {
        accepted: string[];
        onRootDrop: (p: DropEventParams) => void;
        orientation: "horizontal" | "vertical" | undefined;
        grid: Grid<T>;
    };
    items: GridBoxItem<{
        id: string;
        agg: AggModelFn<T>;
    }>[];
};
