import { FC, ReactNode } from "react"; /** * Defines the props for the NvPagination component. * * @param total - The total number of pages. * @param limit - The number of pagination items viewable at a time. * @param activeItem - The current page number. * @param ariaLabel - The `aria-label` attribute of the element. * @param onPageChange - Callback fired when the page is changed. * @param children - ReactNode for rendering child components. */ export interface NvPaginationProps { /** The total number of pages. */ total?: number; /** The number of pagination items viewable at a time. */ limit?: number; /** The current page number. */ activeItem?: number; /** The aria-label attribute of the element. */ ariaLabel?: string; /** Callback fired when the page is changed. */ onPageChange?: (newPage: number) => void; /** The additional CSS class for the wrapper element. */ className?: string; children?: ReactNode; } /** * Functional component for rendering a pagination control. * * @param total - The total number of pages. * @param limit - The maximum number of page numbers to display. * @param activeItem - The currently active page number. * @param ariaLabel - ARIA label for accessibility. * @param onPageChange - Callback function for page change event. * @param className - The additional CSS class for the wrapper element. * @param children - Additional elements to render within the pagination container. * @returns The pagination component with navigation buttons and page numbers. */ declare const NvPagination: FC; export default NvPagination;