import { ConfigurationObjectResolve } from '@mf/core'; import { ContainersService } from '../services/containers.service'; import { IframeRendererContext, ParentComponentRef, RendererRef } from './interface'; /** * */ export declare class IframeRendererRef implements RendererRef { private readonly containersService; constructor(containersService: ContainersService); /** * */ render(resolvedConfiguration: ConfigurationObjectResolve, componentRef: ParentComponentRef): IframeRendererContext; /** * */ destroy(context: IframeRendererContext): void; /** * */ private listen; /** * Iframe element has the onerror event but it never gets called in our cases. * So we have to find another way to detect iframe error * Directive requests a resource and throws an error when response code is not between >= 200 <= 299 */ private onLoad; /** * */ private onError; }