import React from "react"; /** * Renders navigation Buttons and current page input */ export interface PaginationNavigationProps { /** Current visible page */ currentPage: number; /** Page size, number of elements on the current page */ pageSize: number; /** Total number of pages */ totalPages: number; /** Sets the current page being shown */ setCurrentPage: (page: number) => void; /** Callback function for next link */ onNext?: (ev: React.MouseEvent | React.KeyboardEvent) => void; /** Callback function for first link */ onFirst?: (ev: React.MouseEvent | React.KeyboardEvent) => void; /** Callback function for previous link */ onPrevious?: (ev: React.MouseEvent | React.KeyboardEvent) => void; /** Callback function for last link */ onLast?: (ev: React.MouseEvent | React.KeyboardEvent) => void; /** onPagination Callback triggered when a change is triggered */ onPagination: (currentPage: number, pageSize: number, origin: string) => void; /** Should the `First` and `Last` navigation buttons be shown */ showFirstAndLastButtons?: boolean; /** If true, page number navigation will be changed to a non-interactive label */ interactivePageNumber?: boolean; /** Size of the button */ size?: "small" | "medium" | "large"; } declare const PaginationNavigation: ({ currentPage, pageSize, totalPages, setCurrentPage, onNext, onFirst, onPrevious, onLast, onPagination, showFirstAndLastButtons, interactivePageNumber, size, }: PaginationNavigationProps) => React.JSX.Element; export default PaginationNavigation;