import { Observable, Subject } from 'rxjs';
import { AbstractHttpService } from '@wm/core';
import * as i0 from "@angular/core";
export declare class OAuthService {
    private httpService;
    constructor(httpService: AbstractHttpService);
    providers: Subject<unknown>;
    providersConfig: any[];
    getOAuthProvidersAsObservable(): Observable<any>;
    addProviderConfig(provider: any): void;
    removeProviderConfig(providerId: any): void;
    perfromOAuthorization(url: any, providerId: any, onSuccess: any, onError: any, securityObj?: any, customUriScheme?: any, deployedURL?: any): void;
    getAccessToken(provider: any, checkLocalStorage: any): string;
    removeAccessToken(provider: any): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<OAuthService, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<OAuthService>;
}
