import { PipeTransform } from '@angular/core'; import { DomSanitizer, SafeHtml, SafeResourceUrl, SafeScript, SafeStyle, SafeUrl } from '@angular/platform-browser'; export declare class SafePipe implements PipeTransform { private sanitizer; constructor(sanitizer: DomSanitizer); /** * Transform * * @param value: string * @param type: string */ transform(value: string, type: string): SafeHtml | SafeStyle | SafeScript | SafeUrl | SafeResourceUrl; }