import { ReactNode } from "react"; import { DropResult } from "react-beautiful-dnd"; declare type Item = Record> = { id: string; } & T; export declare type ColumnsStatus = { columnId: string; status: "min" | "max"; }; export declare type KanbanColumn> = { id: string; title: string; items: Item[]; }; export declare type KanbanColumns> = { [name: string]: KanbanColumn; }; export interface KanbanBoardProps = Record> { list: KanbanColumns; onChangeColumn?: (order: string[]) => void; onChangeItem?: (result: DropResult) => void; renderItem: (item: { data: T; isHoverd?: boolean; index: number; isDraging: boolean; setExpandedIndexes?: (index: string) => void; expandedIndexes?: string[]; }) => ReactNode; } declare const KanbanBoard: >({ list, renderItem, onChangeColumn, onChangeItem, }: KanbanBoardProps) => JSX.Element; export { KanbanBoard }; //# sourceMappingURL=index.d.ts.map