import { Observable } from "rxjs"; import { Http } from "@angular/http"; export declare class OAuthConfig { authorizeUri: string; clientId: string; logoutUri: string; issuer: string; apiServer: string; proxyApiServer: string; apiServerProtocol: string; wsApiServerProtocol: string; apiServerBasePath: string; wsApiServerBasePath: string; wsApiServer: string; scope: string; loaded: boolean; openshiftConsoleUrl: string; witApiUrl: string; ssoApiUrl: string; forgeApiUrl: string; recommenderApiUrl: string; constructor(data: any); } export declare function currentOAuthConfig(): OAuthConfig; export declare class OAuthConfigStore { private http; constructor(http: Http); readonly resource: Observable; readonly loading: Observable; /** * Returns whether we are running against openshift. * * NOTE this is intended to be invoked after the OAuthConfigStore has finished loading via the .loading() Observable! * * @return {boolean} true if this cluster is using openshift */ readonly config: OAuthConfig; load(): void; }