/** biome-ignore-all lint/correctness/useHookAtTopLevel: False positive because of the way forwardRef() is added */
import React from "react";
import DragAndDropItem, { type DragAndDropItemProps } from "../item/DragAndDropItem";
type ItemT = {
    label: string;
    id: string;
};
interface DragAndDropProps extends React.HTMLAttributes<HTMLUListElement> {
    items: ItemT[];
    setItems: (newOrder: ItemT[]) => void;
    renderItem: (item: ItemT, index: number) => React.ReactNode;
}
declare const DragAndDrop: (props: DragAndDropProps & React.RefAttributes<HTMLUListElement>) => React.ReactElement | null;
export { DragAndDrop, DragAndDropItem };
export default DragAndDrop;
export type { DragAndDropItemProps, DragAndDropProps };
