import { ObjectBase } from "./all-base";
import { UISeverity } from "../progress";
export interface ControllerOptions {
    manualInitCleanup?: boolean;
}
export declare class ControllerBase extends ObjectBase {
    protected $scope: any;
    protected $ionicLoading: any;
    protected $ionicPopup: any;
    protected $ionicHistory: any;
    protected $ionicModal: any;
    protected $cordovaInAppBrowser: any;
    protected net: any;
    protected currentModal: any;
    error: string | null;
    initialized: Promise<void> | null;
    constructor(name: string, $injector: any, $scope: any, options?: ControllerOptions);
    protected showLoading(message: string, autoCloseOnTransition?: boolean): Promise<void>;
    protected showLoadingEx(details: {}): Promise<void>;
    protected hideLoading(): Promise<void>;
    showIsolatedModal(modalController: any): Promise<void>;
    hideIsolatedModal(): Promise<void>;
    openExternal(url: string): Promise<void>;
    showModal(templateURL: string): Promise<void>;
    hideModal(): Promise<void>;
    setError(message: string): void;
    isOnline(): boolean;
    protected initialize(): Promise<void>;
    protected cleanup(): Promise<void>;
    protected leaveFromError(message: string, title?: string): Promise<void>;
    protected confirm(title: string, message: string, severity?: UISeverity): Promise<boolean>;
    protected alert(title: string, message: string, severity?: UISeverity): Promise<void>;
}
