import * as _angular_core from '@angular/core'; import { OnDestroy, Provider, ModuleWithProviders, InjectionToken, Optional } from '@angular/core'; import { Observable } from 'rxjs'; import { HttpClient } from '@angular/common/http'; declare class SvgIconComponent implements OnDestroy { private element; private differs; private renderer; private iconReg; src: _angular_core.InputSignal; name: _angular_core.InputSignal; stretch: _angular_core.InputSignal; applyClass: _angular_core.InputSignal; svgClass: _angular_core.InputSignal; klass: _angular_core.InputSignal; viewBox: _angular_core.InputSignal; svgAriaLabel: _angular_core.InputSignal; onSVGLoaded: _angular_core.InputSignal<((svg: SVGElement, parent: HTMLElement) => SVGElement) | undefined>; svg: _angular_core.WritableSignal; svgStyle: _angular_core.InputSignal<{ [klass: string]: any; } | null | undefined>; private helper; constructor(); ngOnDestroy(): void; get elemSvg(): any; private init; private initSvg; private destroy; private setSvg; private updateViewBox; private copyNgContentAttribute; private setNgContentAttribute; private stylize; private applyChanges; private setStyle; private setClass; private doAria; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } interface AngularSvgIconConfig { loader?: Provider; } declare function provideAngularSvgIcon(config?: AngularSvgIconConfig): _angular_core.EnvironmentProviders; declare class AngularSvgIconModule { static forRoot(config?: AngularSvgIconConfig): ModuleWithProviders; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵmod: _angular_core.ɵɵNgModuleDeclaration; static ɵinj: _angular_core.ɵɵInjectorDeclaration; } declare const SERVER_URL: InjectionToken; declare class SvgIconRegistryService { private loader; protected serverUrl: string | null | undefined; private document; private iconsByUrl; private iconsLoadingByUrl; /** Add a SVG to the registry by passing a name and the SVG. */ addSvg(name: string, data: string): void; /** Load a SVG to the registry from a URL. */ loadSvg(url: string, name?: string): Observable | undefined; /** Get loaded SVG from registry by name. (also works by url because of blended map) */ getSvgByName(name: string): Observable | undefined; /** Remove a SVG from the registry by URL (or name). */ unloadSvg(url: string): void; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵprov: _angular_core.ɵɵInjectableDeclaration; } declare function SVG_ICON_REGISTRY_PROVIDER_FACTORY(parentRegistry: SvgIconRegistryService): SvgIconRegistryService; declare const SVG_ICON_REGISTRY_PROVIDER: { provide: typeof SvgIconRegistryService; deps: Optional[][]; useFactory: typeof SVG_ICON_REGISTRY_PROVIDER_FACTORY; }; declare abstract class SvgLoader { abstract getSvg(url: string): Observable; } declare class SvgHttpLoader extends SvgLoader { private http; constructor(http: HttpClient); getSvg(url: string): Observable; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵprov: _angular_core.ɵɵInjectableDeclaration; } export { AngularSvgIconModule, SERVER_URL, SVG_ICON_REGISTRY_PROVIDER, SVG_ICON_REGISTRY_PROVIDER_FACTORY, SvgHttpLoader, SvgIconComponent, SvgIconRegistryService, SvgLoader, provideAngularSvgIcon }; export type { AngularSvgIconConfig };