import { type RowModel, type RowData, type Table, type TableFeature, type Updater } from '@tanstack/react-table'; import type { TDataTableFeatures } from '../types/features.types.js'; import type { DataTablePaginationState } from './pagination-types.js'; /** * @internal */ export declare function table_getPrePaginatedRowModel(table: Table): RowModel; /** * Helper function to update the pagination state with the provided updater function or value. * @internal */ export declare function table_setPagination(table: Table, updater: Updater, trigger?: 'user' | 'internal'): void | undefined; /** * Helper function to update the page index with the provided updater function or value. * @internal */ export declare function table_setPageIndex(table: Table, updater: Updater, trigger?: 'user' | 'internal'): void; /** * Override of tanstack function in order to call the correct table_setPagination */ export declare function table_setPageSize(table: Table, updater: Updater): void; export declare function table_resetPageSize(table: Table, defaultState?: boolean): void; /** * Override of tanstack function in order to call the correct table_setPageIndex * @internal */ export declare function table_autoResetPageIndex(table: Table): void; /** * Helper function to reset the page index to the default page index. * @internal */ export declare function table_resetPageIndex(table: Table, defaultState?: boolean): void; /** * Constructs the pagination feature for the table. * @internal */ export declare function constructRowPaginationFeature(): TableFeature; /** * Feature implementation for row pagination. * @internal */ export declare const DataTableRowPaginationFeature: TableFeature; //# sourceMappingURL=Pagination.d.ts.map