import { PipeTransform } from '@angular/core'; /** * Rc Image Pipe * In App Module add to provider * * @example * const imagesConfig: IImagesConfig = { * baseUrl: 'some base url' * } * add to app module * { * provide: 'ImageConfig', * useValue: imagesConfig * } * * */ export declare class RcImagePipe implements PipeTransform { private config; /** * @param imageConfig - should be defined in the app module as provider with useValue */ constructor(imageConfig?: IImagesConfig); transform(value: any): any; } export interface IImagesConfig { baseUrl: string; }