export type UsePaginationProps = {
    total?: number;
};
export declare function usePagination({ total }: UsePaginationProps): {
    page: number;
    limit: number;
    setLimit: (limit: number) => void;
    setPage: (page: number) => void;
    nextPage: () => void;
    previousPage: () => void;
};
export type UsePaginationReturn = ReturnType<typeof usePagination>;
//# sourceMappingURL=use-pagination.d.ts.map