import type { RowData } from '@tanstack/vue-table';

declare module '@tanstack/vue-table' {
  // eslint-disable-next-line @typescript-eslint/no-unused-vars -- TData, TValue are required by ColumnMeta
  interface ColumnMeta<TData extends RowData, TValue> {
    class?: string;
    headerClass?: string;
    cellClass?: string;
    reorderable?: boolean;
  }
}

declare module '@tanstack/table-core' {
  // eslint-disable-next-line @typescript-eslint/no-unused-vars -- generics required by ColumnDef
  interface ColumnDef<TData extends RowData, TValue = unknown> {
    minSize?: number;
    maxSize?: number;
  }
}
