import { type ReactNode } from 'react';
/**
 * KanbanBoard - Composant Kanban drag-and-drop standardisé SmartStack
 *
 * Fonctionnalités:
 * - Colonnes avec compteurs
 * - Drag & drop des cartes (natif HTML5)
 * - Actions sur cartes et colonnes
 * - États vide/chargement
 * - Personnalisation des cartes
 *
 * Usage:
 * ```tsx
 * <KanbanBoard
 *   columns={[
 *     { id: 'todo', title: 'À faire', color: 'var(--warning-text)' },
 *     { id: 'in-progress', title: 'En cours', color: 'var(--info-text)' },
 *     { id: 'done', title: 'Terminé', color: 'var(--success-text)' },
 *   ]}
 *   items={tasks}
 *   getItemColumn={(task) => task.status}
 *   onMoveItem={(taskId, newColumnId) => updateTask(taskId, { status: newColumnId })}
 *   renderCard={(task) => <TaskCard task={task} />}
 * />
 * ```
 */
export interface KanbanColumn {
    /** Unique column ID */
    id: string;
    /** Column title */
    title: string;
    /** Optional color (CSS value) */
    color?: string;
    /** Max items in column (optional limit) */
    maxItems?: number;
    /** Can add items to this column */
    canAddItem?: boolean;
}
export interface KanbanBoardProps<T> {
    /** Column definitions */
    columns: KanbanColumn[];
    /** All items */
    items: T[];
    /** Get unique item ID */
    getItemId: (item: T) => string;
    /** Get item's column ID */
    getItemColumn: (item: T) => string;
    /** Move item to new column */
    onMoveItem: (itemId: string, newColumnId: string, newIndex?: number) => void;
    /** Render card content */
    renderCard: (item: T, index: number) => ReactNode;
    /** Loading state */
    loading?: boolean;
    /** Add item handler */
    onAddItem?: (columnId: string) => void;
    /** Card click handler */
    onCardClick?: (item: T) => void;
    /** Card menu actions */
    cardActions?: (item: T) => {
        label: string;
        onClick: () => void;
        icon?: ReactNode;
    }[];
    /** Empty column message */
    emptyColumnMessage?: string;
    /** Custom className */
    className?: string;
    /** Column min width */
    columnMinWidth?: string;
    /** Disable drag & drop */
    disabled?: boolean;
}
export declare function KanbanBoard<T>({ columns, items, getItemId, getItemColumn, onMoveItem, renderCard, loading, onAddItem, onCardClick, cardActions, emptyColumnMessage, className, columnMinWidth, disabled, }: KanbanBoardProps<T>): import("react/jsx-runtime").JSX.Element;
export interface KanbanCardProps {
    title: string;
    subtitle?: string;
    tags?: {
        label: string;
        color?: string;
    }[];
    avatar?: {
        letter: string;
        color: string;
    } | {
        imageUrl: string;
    };
    priority?: 'low' | 'medium' | 'high' | 'critical';
    dueDate?: string;
}
export declare function KanbanCard({ title, subtitle, tags, avatar, priority, dueDate }: KanbanCardProps): import("react/jsx-runtime").JSX.Element;
export default KanbanBoard;
//# sourceMappingURL=KanbanBoard.d.ts.map