import * as React from "react";
import { WrapperProps } from "./AppWrapper";
import { RequestErrorHandler, RequestSuccessHandler } from "../../shared/request-types";
import { AbstractThunder } from "./AbstractThunder";
export declare const ErrorHandler_Toast: RequestErrorHandler<any>;
export declare const SuccessHandler_Toast: RequestSuccessHandler;
export declare const ErrorHandler_Dispatch: RequestErrorHandler<any>;
export declare const SuccessHandler_Dispatch: RequestSuccessHandler;
export interface OnUnauthenticatedResponse {
    onUnauthenticatedResponse: () => void;
}
export declare class Thunder extends AbstractThunder {
    private mainApp;
    constructor();
    static getInstance(): Thunder;
    init(): this;
    protected renderApp: () => void;
    setMainApp(mainApp: React.ElementType<WrapperProps>): Thunder;
    getMainApp(): React.ElementType<WrapperProps>;
}
