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<Partial<DataOptions>>;
    itemsLength: Ref<number>;
    updateOptions: (opts: Partial<DataOptions>) => void;
}): {
    page: import('vue').WritableComputedRef<number, number>;
    pageCount: import('vue').ComputedRef<number>;
    itemsPerPageValue: import('vue').ComputedRef<number>;
    updateItemsPerPage: (newItemsPerPage: number) => Promise<void>;
    isUpdatingItemsPerPage: Ref<boolean, boolean>;
    onUpdateOptions: (newOptions: Partial<DataOptions>) => void;
};
