import * as i0 from '@angular/core'; import { OnInit, ElementRef } from '@angular/core'; import { HttpClient } from '@angular/common/http'; /** * Service managing icons. Use `getIcon(id)` to retrieve the SVG string for that key. * By default these SVGs will be served from the resources provided by this module. * It contains several general [purpose icons](icons.ts). If you want to extend the * list of icons or overwrite an existing icon use `registerIcon(s)` functions. If the * id of an icon to be registered already exists it will be overwritten otherwise added * to the list of available icons. Once registered icons are available across the whole * application. * @deprecated */ declare class IconService { private _iconRegistry; private _brokenIcon; /** * Get an icon. Based on its ID the service will try to retrieve the svg string * from its internal icon registry or the default icons provided by the module * @param id ID of the icon * @returns SVG string or undefined if the icon could not be found */ getIcon(id: string): string | undefined; /** * Register a new icon or overwrite an existing icon. * @param id ID of the icon * @param svg SVG string bound to that ID */ registerIcon(id: string, svg: string): void; /** * Register multiple icons at once * @param icons Array of icons */ registerIcons(icons: { id: string; svg: string; }[]): void; private _isValidSVG; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } /** * Component to display an SVG icon. * @deprecated Deprecated description */ declare class YuvIconComponent implements OnInit { #private; private element; private http; private document; private _svgIcon; label: i0.InputSignal; svg: i0.InputSignal; svgSrc: i0.InputSignal; constructor(element: ElementRef, http: HttpClient, document: any); private _createSvg; private _removeSVG; private _svgElementFromString; ngOnInit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare const YUV_ICONS: any; declare class ObjectTypeIconComponent { private system; private backend; set objectTypeId(id: string); svg?: string; title?: string; refresh(params: any): boolean; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export { IconService, ObjectTypeIconComponent, YUV_ICONS, YuvIconComponent };