/**
 * A React hook for creating pagination logic.
 *
 * This hook calculates the pagination range based on total count of items, page size, sibling count, and the current page.
 * It also takes care of scenarios where 'dots' should appear in the pagination component to indicate skipped page numbers.
 *
 * @param {Object} config - The configuration object for pagination.
 * @param {number} config.totalCount - The total count of items to be paginated.
 * @param {number} config.pageSize - The number of items per page.
 * @param {number} [config.siblingCount=1] - The number of sibling pages to show adjacent to the current page.
 * @param {number} config.currentPage - The current active page.
 *
 * @returns {{pages: Array<number|null>, totalPageCount: number}}
 * An object containing the pagination range (pages) and the total number of pages (totalPageCount).
 * The 'pages' array contains numbers for page indexes and nulls where 'dots' should appear in the UI.
 *
 * @example
 * // Example usage:
 * const { pages, totalPageCount } = usePagination({
 *   totalCount: 100,
 *   pageSize: 10,
 *   siblingCount: 1,
 *   currentPage: 5
 * });
 *
 * // This will return:
 * // {
 * //   pages: [1, null, 4, 5, 6, null, 10],
 * //   totalPageCount: 10
 * // }
 */
export declare const usePagination: ({ totalCount, pageSize, siblingCount, currentPage }: {
    totalCount: number;
    pageSize: number;
    currentPage: number;
    siblingCount?: number;
}) => {
    pages: Array<number | null>;
    totalPageCount: number;
};
