import * as React from 'react'; import { ButtonType, ButtonProps } from '../button/button'; export interface ActionButtonProps { type?: ButtonType; actionFn?: (...args: any[]) => any | PromiseLike; closeModal: Function; autoFocus?: boolean; buttonProps?: ButtonProps; } export interface ActionButtonState { loading: boolean; } export default class ActionButton extends React.Component { timeoutId: number; constructor(props: ActionButtonProps); componentDidMount(): void; componentWillUnmount(): void; onClick: () => void; render(): JSX.Element; }