import * as React from 'react';
export interface TimelineProps {
    prefixCls?: string;
    className?: string;
    reverse?: string;
    columns?: any;
    dot?: any;
    data?: any;
    current?: number;
    color?: any;
    maxShow?: number;
    more?: any;
}
export default class Timeline extends React.Component<TimelineProps, any> {
    static defaultProps: {
        prefixCls: string;
        data: never[];
        columns: never[];
        maxShow: number;
        more: string;
        color: string;
        reverse: boolean;
    };
    constructor(props: TimelineProps);
    handleShow: (maxShow: number) => void;
    getCurrentStep: (props: TimelineProps) => any;
    getLineClass: (props: TimelineProps, record: any, idx: number, current: number) => any;
    getBorderColor: (record: object, idx: number, color?: any) => {
        baseColor: string;
        extraColor: string;
    };
    firstColumnReRender: (props: TimelineProps, text: any, record: any, idx: any) => any;
    setColumns: (props?: Readonly<TimelineProps> & Readonly<{
        children?: React.ReactNode;
    }>) => void;
    setDataSource: (props?: Readonly<TimelineProps> & Readonly<{
        children?: React.ReactNode;
    }>) => void;
    getCustomDot(dot: any, record: any, idx: number): any;
    getDot: (props: TimelineProps, record: any, idx: any, current: any) => JSX.Element;
    updateState(props?: any): void;
    componentWillMount(): void;
    componentWillReceiveProps(nextProps: any): void;
    shouldComponentUpdate(nextProps: any, nextState: object): boolean;
    render(): JSX.Element;
}
