import { UsePaginationProps } from "./usePagination.types.js";
import { PaginationItem } from "./pagination.types.js";
import * as react362 from "react";

//#region src/pagination/usePagination.d.ts
/** Hook to manage pagination data and state in controlled or uncontrolled way. */
declare function usePagination(props: UsePaginationProps): {
  count: number;
  items: PaginationItem[];
  onPageChange: react362.Dispatch<react362.SetStateAction<number>>;
  page: number;
  pageCount: number;
  pageSize: number;
  rangeEnd: number;
  rangeStart: number;
};
type UsePaginationReturnType = ReturnType<typeof usePagination>;
//#endregion
export { UsePaginationReturnType, usePagination };

//# sourceMappingURL=usePagination.d.ts.map