import { HttpClient } from '@angular/common/http'; import { Observable } from 'rxjs/internal/Observable'; import { Params } from '@angular/router'; import * as i0 from "@angular/core"; export declare class WeAcceptService { private http; paymentToken: string; cartId: string; constructor(http: HttpClient); /** * Return the we accept token for current order * @returns the token * */ getOrderToken(paymentCode: any): Observable; /** * send the payment response to the api * @param params {Params} - the parameters of the response * */ weAccept(params: Params): Observable; private getTokenFromApi; private getRefreshToken; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }