import { Ref } from 'vue'; import { DataOptions } from './types'; /** * Composable for managing table pagination * * @param options - Reactive reference to table options * @param itemsLength - Total number of items (for client-side) or serverItemsLength (for server-side) * @returns Pagination utilities and computed properties */ export declare function usePagination({ options, itemsLength, updateOptions, }: { options: Ref>; itemsLength: Ref; updateOptions: (opts: Partial) => void; }): { page: import('vue').WritableComputedRef; pageCount: import('vue').ComputedRef; itemsPerPageValue: import('vue').ComputedRef; updateItemsPerPage: (newItemsPerPage: number) => Promise; isUpdatingItemsPerPage: Ref; onUpdateOptions: (newOptions: Partial) => void; };