/**
 * Renders a button that triggers a promise-returning `onClickOperation` when user clicks the button.
 * When the button is clicked, `inProgress` text is shown, and when the promise resolves, `completed` text is shown.
 */
export default class ButtonWithStatus extends Component<any, any, any> {
    constructor(props: any);
    constructor(props: any, context: any);
    state: {
        progressState: string;
    };
    onClick: () => Promise<void>;
    render(): import("react/jsx-runtime").JSX.Element;
}
import { Component } from "react";
