import { HttpResponse } from '@angular/common/http'; import { Observable } from 'rxjs'; import { NbAuthResult } from '../services/auth-result'; import { NbAuthStrategyOptions } from './auth-strategy-options'; import { NbAuthToken } from '../services/token/token'; export declare abstract class NbAuthStrategy { protected defaultOptions: NbAuthStrategyOptions; protected options: NbAuthStrategyOptions; setOptions(options: any): void; getOption(key: string): any; createToken(value: any, failWhenInvalidToken?: boolean): T; getName(): string; abstract authenticate(data?: any): Observable; abstract register(data?: any): Observable; abstract requestPassword(data?: any): Observable; abstract resetPassword(data?: any): Observable; abstract logout(): Observable; abstract refreshToken(data?: any): Observable; protected createFailResponse(data?: any): HttpResponse; protected createSuccessResponse(data?: any): HttpResponse; protected getActionEndpoint(action: string): string; }