import { type RowModel, type RowData, type Table_Internal, type TableFeature, type TableFeatures, type Updater } from '@tanstack/react-table'; import type { DataTablePaginationState, RowPaginationFeatureConstructors } from './pagination-types.js'; /** * @internal */ export declare function table_getPrePaginatedRowModel(table: Table_Internal): RowModel; /** * Helper function to update the pagination state with the provided updater function or value. * @internal */ export declare function table_setPagination(table: Table_Internal, 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_Internal, 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_Internal, updater: Updater): void; export declare function table_resetPageSize(table: Table_Internal, defaultState?: boolean): void; /** * Override of tanstack function in order to call the correct table_setPageIndex * @internal */ export declare function table_autoResetPageIndex(table: Table_Internal): void; /** * Helper function to reset the page index to the default page index. * @internal */ export declare function table_resetPageIndex(table: Table_Internal, 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>;