import React from "react";
import { MatrixEvent } from "matrix-js-sdk/src/matrix";
interface IProps {
    event: MatrixEvent;
    redact: () => Promise<void>;
    onFinished: (success?: boolean) => void;
}
interface IState {
    isRedacting: boolean;
    redactionErrorCode: string | number | null;
}
export default class ConfirmAndWaitRedactDialog extends React.PureComponent<IProps, IState> {
    constructor(props: IProps);
    onParentFinished: (proceed?: boolean) => Promise<void>;
    render(): React.ReactNode;
}
export {};
