import { NAPConnectionService } from './nap-connection.service'; import { NapResponse, NapResourcesAllowedI, NAPLoginOptions, NAPLoginIdentities, NAPResetPasswordOptions } from './napi.interfaces'; import { Subject } from 'rxjs'; export declare class NAPAuthService { conn: NAPConnectionService; private authUser; userChanged: Subject; authenticated: boolean; private _resourcesAllowed; resourcesAllowed: NapResourcesAllowedI; resourcesAllowedChange: Subject; sessionEngine: string; constructor(conn: NAPConnectionService); checkAuthenticated(): Promise; getUser(): any; setUser(data: object): void; login(data: NAPLoginIdentities, remember?: boolean, options?: NAPLoginOptions): Promise>; logout(options?: NAPLoginOptions): Promise>; recoverPasswordByEmail(email: string, options?: NAPResetPasswordOptions): Promise>; recoverPasswordBySms(phone: string): Promise>; checkToken(token: string): Promise>; setPasswordForToken(token: string, password: string, options?: NAPLoginOptions): Promise>; read(): Promise>; }