import { Component } from 'react';
export declare type ActionButtonClickHandler = (e?: () => void) => Promise<any> | boolean | void;
export interface IActionButtonProps {
    type: 'default' | 'primary' | 'success' | 'danger' | 'secondary';
    text: React.ReactNode;
    className: string;
    getClose: () => () => void;
    onClick?: ActionButtonClickHandler;
}
export default class ActionButton extends Component<IActionButtonProps> {
    state: {
        loading: boolean;
    };
    onClick: () => void;
    render(): JSX.Element;
}
