import * as React from 'react';
import { WithAppProviderProps } from '../../components';
export interface Props {
    /** Whether the alert is open or not */
    open: boolean;
    /** The content to display inside the alert */
    children?: string;
    /** The alert title */
    title?: string;
    /** For confirming a destructive or dangerous action */
    destructive?: boolean;
    /** The content of the confirmation button */
    confirmContent: string;
    /** The content of the cancel button */
    cancelContent?: string;
    /** Callback when the confirmation button is clicked */
    onClose?(): void;
    /** Callback when the alert is closed, or when the cancel button is clicked */
    onConfirm(): void;
}
export declare class Alert extends React.PureComponent<Props & WithAppProviderProps, never> {
    private focusReturnPoint;
    componentDidMount(): void;
    componentDidUpdate({ open: wasOpen }: Props): void;
    render(): null;
    private handleEASDKMessaging;
}
declare const _default: React.ComponentClass<Props> & typeof Alert;
export default _default;
