import { EventEmitter } from '@angular/core'; import { ApiService } from '../api/api.service'; import { EnvironmentService } from '../environment/environment.service'; import * as i0 from "@angular/core"; export interface IOnLogin { accessToken: string; refreshToken: string; } export declare class LoginService { private apiService; private environmentService; basePath: string; onLogin: EventEmitter; onLogout: EventEmitter; onRefresh: EventEmitter; constructor(apiService: ApiService, environmentService: EnvironmentService); createWithCredentials(username: string, password: string): Promise<{ accessToken: any; refreshToken: any; }>; createWithRefreshToken(token: string): Promise<{ accessToken: any; refreshToken: any; }>; delete(): Promise; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }