import * as React from 'react';
import { ColumnDef, SortDirection } from '../data-table/index.js';
export { ColumnDef, DataTableProps as CoreDataTableProps, DataTableAPI, DataTableState, SortDirection, cellVariants, headerVariants, rowVariants, tableVariants } from '../data-table/index.js';

interface DataTableProps<T = Record<string, unknown>> {
    columns: ColumnDef<T>[];
    data: T[];
    sortBy?: string;
    sortDir?: SortDirection;
    onSort?: (columnId: string, direction: SortDirection) => void;
    filters?: Record<string, string>;
    className?: string;
    emptyMessage?: string;
}
declare function DataTable<T = Record<string, unknown>>({ columns, data, sortBy: controlledSortBy, sortDir: controlledSortDir, onSort, filters: controlledFilters, className, emptyMessage, }: DataTableProps<T>): React.DetailedReactHTMLElement<{
    className: string;
}, HTMLElement>;
declare namespace DataTable {
    var displayName: string;
}

export { DataTable, type DataTableProps };
