import { TableState } from '@tanstack/table-core';
import { DataTableColumnDef, DataTableQuery, DataTableSort, GroupedData, InternalFilter, InternalQuery } from '../data-table.types';
export declare function queryToTableState(query: InternalQuery): Partial<TableState>;
export declare function getColumnsWithFilterFn<TData, TValue>(columns?: DataTableColumnDef<TData, TValue>[], filters?: InternalFilter[]): DataTableColumnDef<TData, TValue>[];
export declare function groupData<TData>(data: TData[], group_by?: string, columns?: DataTableColumnDef<TData, any>[]): GroupedData<TData>[];
export declare const hasQueryChanged: (oldQuery: InternalQuery | null, newQuery: InternalQuery) => boolean;
export declare function getInitialColumnVisibility<TData, TValue>(columns?: DataTableColumnDef<TData, TValue>[]): Record<string, boolean> | {};
export declare function transformToDataTableQuery(query: InternalQuery): DataTableQuery;
export declare function dataTableQueryToInternal(query: DataTableQuery): InternalQuery;
export declare function getDefaultTableQuery(defaultSort: DataTableSort, oldQuery?: DataTableQuery): InternalQuery;
//# sourceMappingURL=index.d.ts.map