export default class ActionButton extends Component<any, any, any> {
    static propTypes: {
        actionFn: PropTypes.Validator<(...args: any[]) => any>;
    };
    static defaultProps: {
        className: any;
        successClassName: any;
        failedClassName: any;
        readonly normalText: string;
        readonly activeText: string;
        readonly failedText: string;
        readonly successText: string;
        forceActiveStyle: boolean;
    };
    constructor(props: any);
    state: {
        active: boolean;
        result: null;
    };
    componentWillUnmount(): void;
    resetState(): void;
    resetStateOnTimeout: () => void;
    timeout: NodeJS.Timeout | undefined;
    onClick: (event: any) => void;
    actionPromise: (Promise<any> & {
        cancel: () => void;
    }) | undefined;
    render(): import("react/jsx-runtime").JSX.Element;
}
import { Component } from "react";
import PropTypes from "prop-types";
