import { TNode } from '../common';
export interface TdPaginationProps {
    current?: number;
    defaultCurrent?: number;
    disabled?: boolean;
    foldedMaxPageBtn?: number;
    maxPageBtn?: number;
    pageEllipsisMode?: 'mid' | 'both-ends';
    pageSize?: number;
    defaultPageSize?: number;
    pageSizeOptions?: Array<number | {
        label: string;
        value: number;
    }>;
    showFirstAndLastPageBtn?: boolean;
    showJumper?: boolean;
    showPageNumber?: boolean;
    showPageSize?: boolean;
    showPreviousAndNextBtn?: boolean;
    size?: 'small' | 'medium';
    theme?: 'default' | 'simple';
    total?: number;
    totalContent?: boolean | TNode;
    onChange?: (pageInfo: PageInfo) => void;
    onCurrentChange?: (current: number, pageInfo: PageInfo) => void;
    onPageSizeChange?: (pageSize: number, pageInfo: PageInfo) => void;
}
export interface PageInfo {
    current: number;
    previous: number;
    pageSize: number;
}
