import React from 'react';
import PropTypes from 'prop-types';
declare type Props = {
    buttonYesStyle?: string;
    submitText?: string;
    cancelText: string;
    submitAction?: Function;
    cancelAction: Function;
    noAutoClose?: boolean;
    closeAsCancel?: boolean;
} & DefaultProps;
declare type DefaultProps = {
    submitAction: Function;
    buttonYesStyle: string;
    title: string;
    submitText: string;
    cancelText: string;
    testAutomationId: 'confirm';
    noAutoClose: boolean;
};
export declare class Confirm extends React.Component<Props & DefaultProps> {
    static propTypes: {
        buttonYesStyle: PropTypes.Requireable<string>;
        submitText: PropTypes.Requireable<string>;
        cancelText: PropTypes.Requireable<string>;
        submitAction: PropTypes.Validator<(...args: any[]) => any>;
        cancelAction: PropTypes.Validator<(...args: any[]) => any>;
        noAutoClose: PropTypes.Requireable<boolean>;
        shouldDeriveDescFromBody: PropTypes.Requireable<boolean>;
        closeAsCancel: PropTypes.Requireable<boolean>;
    };
    static defaultProps: {
        buttonYesStyle: string;
        readonly title: string;
        readonly submitText: string;
        readonly cancelText: string;
        testAutomationId: string;
        noAutoClose: boolean;
        shouldDeriveDescFromBody: boolean;
        closeAsCancel: boolean;
    };
    constructor(props: any, context: any);
    submitAction(): void;
    cancelAction(): void;
    handleClose: () => void;
    render(): JSX.Element;
}
export {};
