/******************************************************************************** * Copyright (c) 2026 Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License 2.0 which is available at * https://www.eclipse.org/legal/epl-2.0 * * SPDX-License-Identifier: EPL-2.0 ********************************************************************************/ /** * Hook for managing pagination state and actions. * Provides page navigation, total pages calculation, and loading state. */ export declare const usePagination: () => { currentPage: number; pageSize: number; totalPages: number; totalItems: number; isLoading: boolean; goToPage: (page: number) => void; goToNextPage: () => void; goToPreviousPage: () => void; goToFirstPage: () => void; goToLastPage: () => void; hasNextPage: boolean; hasPreviousPage: boolean; isFirstPage: boolean; isLastPage: boolean; startItem: number; endItem: number; }; export type UsePaginationReturn = ReturnType; //# sourceMappingURL=use-pagination.d.ts.map