import { BehaviorSubject } from 'rxjs';
import * as i0 from "@angular/core";
export declare class XrmStateService {
    private statechanged$;
    constructor();
    statechanged(): BehaviorSubject<boolean>;
    private runnings;
    private _running;
    /**
     * @deprecated You should subscribe to statechanged() instead of targeting this property directly
     */
    get running(): boolean;
    private _success;
    get success(): number;
    private _error;
    get error(): number;
    private add;
    private remove;
    static ɵfac: i0.ɵɵFactoryDeclaration<XrmStateService, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<XrmStateService>;
}
