export default PageNavComponent; declare function PageNavComponent({ currentPage, totalPage, onChangePage }: { currentPage: any; totalPage: any; onChangePage: any; }): JSX.Element; declare namespace PageNavComponent { namespace propTypes { const currentPage: PropTypes.Validator; const totalPage: PropTypes.Validator; const onChangePage: PropTypes.Validator<(...args: any[]) => any>; } } import PropTypes from 'prop-types';