import * as React from "react"; interface ConfirmableDialogWithAsyncOperationProps { title: string; open: boolean; onClose: () => void; onConfirm: () => Promise; confirmButtonTitle?: string; cancelButtonTitle?: string; onExited?: () => void; destructive?: boolean; } interface ConfirmableDialogWithAsyncOperationState { isSaving: boolean; error?: unknown; } export declare class ConfirmableDialogWithAsyncOperation extends React.PureComponent { state: ConfirmableDialogWithAsyncOperationState; _isMounted: boolean; componentDidMount(): void; componentWillUnmount(): void; private onCancel; private onSave; render(): JSX.Element; } export {};