import { LemonOAuthTokenResult } from '@lemoncloud/lemon-front-lib'; import { LemonLoaderService } from './lemon-loader.service'; import { ConfigService } from './config.service'; export declare class LemonAuthService { private loaderService; private configService; private oAuthEndpoint; private redirectUrl; private lemonCoreService; constructor(loaderService: LemonLoaderService, configService: ConfigService); request(method: string, endpoint: string, path: string, params?: any, body?: any): Promise; requestWithCredentials(method: string, endpoint: string, path: string, params?: any, body?: any): Promise; requestWithLoader(method: string, endpoint: string, path: string, params?: any, body?: any): Promise; buildCredentialsByToken(data: LemonOAuthTokenResult): Promise; isAuthenticated(): Promise; logout(): Promise; getCredential(): Promise; getUserProfile(): Promise; createCredentialsByProvider(provider: string, code: string): Promise; loginWithProvider(provider?: string): void; }