import { ElementRef, NgZone } from '@angular/core'; import { Observable } from 'rxjs'; import { IframeMessage } from '../model/iframe-message'; import { PaymentType } from '../model/payment-type'; import { IframeMessageType } from '../model/iframe-message-type'; import { Payload } from '../model/payload'; import * as i0 from "@angular/core"; export declare class IframeMessageService { private readonly ngZone; id: string; private readonly messages$; private readonly thirdPartyMessages$; private domain; private http; private readonly listener; constructor(ngZone: NgZone); getDomain(host: string): void; onMessages(): Observable; onThirdPartyMessages(): Observable; ngOnDestroy(): void; /** * Skip for RAPYD - It will process when the dialog close */ isValidDomain(paymentType: PaymentType, origin: string): boolean; sendMessageToIframe(iframe: ElementRef, message: IframeMessage, iframeUrl?: string): void; sendMessageToParrent(checkout: T, type: IframeMessageType, parrentUrl?: string): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }