@@ -17,7 +17,9 @@ import { NgModuleFactory } from '@angular/core';
1717import { Observable } from ' rxjs' ;
1818import { OnChanges } from ' @angular/core' ;
1919import { OnDestroy } from ' @angular/core' ;
20+ import { OnInit } from ' @angular/core' ;
2021import { PipeTransform } from ' @angular/core' ;
22+ import { Provider } from ' @angular/core' ;
2123import { Renderer2 } from ' @angular/core' ;
2224import { SimpleChanges } from ' @angular/core' ;
2325import { Subscribable } from ' rxjs' ;
@@ -256,6 +258,20 @@ export class I18nSelectPipe implements PipeTransform {
256258 static ɵpipe: i0 .ɵɵPipeDeclaration <I18nSelectPipe , " i18nSelect" , true >;
257259}
258260
261+ // @public
262+ export const IMAGE_LOADER: InjectionToken <ImageLoader >;
263+
264+ // @public
265+ export type ImageLoader = (config : ImageLoaderConfig ) => string ;
266+
267+ // @public
268+ export interface ImageLoaderConfig {
269+ // (undocumented)
270+ src: string ;
271+ // (undocumented)
272+ width? : number ;
273+ }
274+
259275// @public
260276export function isPlatformBrowser(platformId : Object ): boolean ;
261277
@@ -517,6 +533,35 @@ export abstract class NgLocalization {
517533 static ɵprov: i0 .ɵɵInjectableDeclaration <NgLocalization >;
518534}
519535
536+ // @public
537+ export class NgOptimizedImage implements OnInit , OnChanges , OnDestroy {
538+ constructor (imageLoader : ImageLoader , renderer : Renderer2 , imgElement : ElementRef , injector : Injector );
539+ set height(value : string | number | undefined );
540+ // (undocumented)
541+ get height(): number | undefined ;
542+ loading? : string ;
543+ // (undocumented)
544+ ngOnChanges(changes : SimpleChanges ): void ;
545+ // (undocumented)
546+ ngOnDestroy(): void ;
547+ // (undocumented)
548+ ngOnInit(): void ;
549+ set priority(value : string | boolean | undefined );
550+ // (undocumented)
551+ get priority(): boolean ;
552+ rawSrc: string ;
553+ rawSrcset: string ;
554+ // (undocumented)
555+ srcset? : string ;
556+ set width(value : string | number | undefined );
557+ // (undocumented)
558+ get width(): number | undefined ;
559+ // (undocumented)
560+ static ɵdir: i0 .ɵɵDirectiveDeclaration <NgOptimizedImage , " img[rawSrc]" , never , { " rawSrc" : " rawSrc" ; " rawSrcset" : " rawSrcset" ; " width" : " width" ; " height" : " height" ; " loading" : " loading" ; " priority" : " priority" ; " src" : " src" ; " srcset" : " srcset" ; }, {}, never , never , true >;
561+ // (undocumented)
562+ static ɵfac: i0 .ɵɵFactoryDeclaration <NgOptimizedImage , never >;
563+ }
564+
520565// @public
521566export class NgPlural {
522567 constructor (_localization : NgLocalization );
@@ -743,6 +788,29 @@ interface PopStateEvent_2 {
743788}
744789export { PopStateEvent_2 as PopStateEvent }
745790
791+ // @public
792+ export const PRECONNECT_CHECK_BLOCKLIST: InjectionToken <(string | string [])[]>;
793+
794+ // @public
795+ export const provideCloudflareLoader: (path : string , options ? : {
796+ ensurePreconnect? : boolean | undefined ;
797+ }) => Provider [];
798+
799+ // @public
800+ export const provideCloudinaryLoader: (path : string , options ? : {
801+ ensurePreconnect? : boolean | undefined ;
802+ }) => Provider [];
803+
804+ // @public
805+ export const provideImageKitLoader: (path : string , options ? : {
806+ ensurePreconnect? : boolean | undefined ;
807+ }) => Provider [];
808+
809+ // @public
810+ export const provideImgixLoader: (path : string , options ? : {
811+ ensurePreconnect? : boolean | undefined ;
812+ }) => Provider [];
813+
746814// @public
747815export function registerLocaleData(data : any , localeId ? : string | any , extraData ? : any ): void ;
748816
0 commit comments