import * as React from "react";

type Props = {
    buttonYesStyle?: string;
    submitText?: string;
    cancelText: string;
    submitAction?: Function | null;
    cancelAction: Function;
    noAutoClose?: boolean;
} & DefaultProps;

type DefaultProps = {
    buttonYesStyle: string;
    title: string;
    submitText: string;
    cancelText: string;
    testAutomationId: 'confirm',
    noAutoClose: boolean;
}

export class Confirm extends React.Component<Props & DefaultProps> {
    submitAction(): void;
    cancelAction(): void;
}