import * as React from 'react'; import './PaginationSC.scss'; interface PaginationProps { current: number; total: number; hideEndNumber?: boolean; onChange?: (current: number, e: MouseEvent) => void; showPageJump?: boolean; capacityOptions: Array; onCapacityChange?: (capacity: number, e: MouseEvent) => void; showCapacity?: boolean; capacity: number; extraCls?: string; translation?: any; showTotalPage?: boolean; getPopupContainer?: Function; } interface PaginationState { currentCapacity: number; current: number; jumpPage: number | string; } export default class Pagination extends React.Component { static defaultProps: { capacity: number; capacityOptions: number[]; current: number; total: number; extraCls: string; translation: { capacity: string; previousPage: string; nextPage: string; goTo: string; page: string; total: string; pages: string; }; }; constructor(props: PaginationProps); private initCapacity; componentDidUpdate(prevProps: Readonly, prevState: Readonly, snapshot?: any): void; private setCapacityFromProps; private setCurrentPageFromProps; private handleCapacityChange; private handlePrevNextButtonChange; private handlePageChange; private getPages; private getCurPage; render(): React.ReactNode; } export {};