import * as React from "react";
import { UpSelectOption } from "../../Inputs/Select";
import { WithThemeProps } from "../../../Common/theming/withTheme";
import { UpThemeInterface } from "../../../Common/theming";
export interface UpPaginationState {
    page: number;
    skip: number;
    take: number;
}
export interface UpPaginationProps {
    total: number;
    skip?: number;
    take?: number;
    page?: number;
    nbByPageMessage?: string;
    takes?: Array<UpSelectOption>;
    isTakeChangeEnable?: boolean;
    isExtraInfoDisplay?: boolean;
    nextLabel?: string;
    previousLabel?: string;
    paginationNavigationSeparator?: string;
    generatePagesNavigation?: (page: any, total: any, take: any) => Array<number>;
    renderResultMessage?: (theme: UpThemeInterface, from: number, to: number, total: number) => JSX.Element;
    onPageChange: (page: number, take: number, skip: number) => void;
}
declare const _default: {
    new (props: any, context: any): {
        render(): JSX.Element;
        context: any;
        setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<UpPaginationProps & WithThemeProps>) => {} | Pick<{}, K>) | Pick<{}, K>, callback?: () => void): void;
        forceUpdate(callback?: () => void): void;
        readonly props: Readonly<UpPaginationProps & WithThemeProps> & Readonly<{
            children?: React.ReactNode;
        }>;
        state: Readonly<{}>;
        refs: {
            [key: string]: React.ReactInstance;
        };
        componentDidMount?(): void;
        shouldComponentUpdate?(nextProps: Readonly<UpPaginationProps & WithThemeProps>, nextState: Readonly<{}>, nextContext: any): boolean;
        componentWillUnmount?(): void;
        componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
        getSnapshotBeforeUpdate?(prevProps: Readonly<UpPaginationProps & WithThemeProps>, prevState: Readonly<{}>): any;
        componentDidUpdate?(prevProps: Readonly<UpPaginationProps & WithThemeProps>, prevState: Readonly<{}>, snapshot?: any): void;
        componentWillMount?(): void;
        UNSAFE_componentWillMount?(): void;
        componentWillReceiveProps?(nextProps: Readonly<UpPaginationProps & WithThemeProps>, nextContext: any): void;
        UNSAFE_componentWillReceiveProps?(nextProps: Readonly<UpPaginationProps & WithThemeProps>, nextContext: any): void;
        componentWillUpdate?(nextProps: Readonly<UpPaginationProps & WithThemeProps>, nextState: Readonly<{}>, nextContext: any): void;
        UNSAFE_componentWillUpdate?(nextProps: Readonly<UpPaginationProps & WithThemeProps>, nextState: Readonly<{}>, nextContext: any): void;
    };
    displayName: string;
    contextTypes: {
        theme: import("prop-types").Requireable<object>;
    };
    contextType?: React.Context<any>;
};
export default _default;
