import * as React from 'react';
export declare const BaseActionContainer: React.SFC<{
    title: React.ReactFragment;
    description: React.ReactFragment;
    action: React.ReactFragment;
    details?: React.ReactFragment;
}>;
interface Props {
    title: React.ReactFragment;
    description: React.ReactFragment;
    buttonClassName?: string;
    buttonLabel: React.ReactFragment;
    buttonSubtitle?: string;
    buttonDisabled?: boolean;
    info?: React.ReactNode;
    /** The message to briefly display below the button when the action is successful. */
    flashText?: string;
    run: () => Promise<void>;
}
interface State {
    loading: boolean;
    flash: boolean;
    error?: string;
}
/**
 * Displays an action button in a container with a title and description.
 */
export declare class ActionContainer extends React.PureComponent<Props, State> {
    state: State;
    private timeoutHandle?;
    componentWillUnmount(): void;
    render(): JSX.Element | null;
    private onClick;
}
export {};
//# sourceMappingURL=ActionContainer.d.ts.map