import { OnInit } from '@angular/core'; import { PrizmAbstractTestId } from '@prizm-ui/core'; import { PrizmDestroyService } from '@prizm-ui/helpers'; import * as i0 from "@angular/core"; /** * @component PrizmIconsComponent * @description This component is used to display SVG icons. */ export declare class PrizmIconsComponent extends PrizmAbstractTestId implements OnInit { private svgIcon; private iconName; private document; private iconRegistry; private element; /** * @developer-preview * */ readonly nameTransformer: ((name: string) => string | null) | null; readonly destroy$: PrizmDestroyService; protected iconsLoader: import("@prizm-ui/icons/core").PrizmIconsLoader | null; ngOnInit(): void; private readonly name$; /** * @method name * @description This method sets the name of the icon to be displayed and attempts to fetch and append the icon to the host element. * @param {string} iconName - The name of the icon to fetch and display. */ set name(iconName: string); /** * @method color * @description This method sets the color of the icon. */ color: string; /** * @method generateMainTestId * @description This method generates a test ID based on the icon name. */ get generateMainTestId(): string; protected _styleWidth: string; /** * Sets the size of the icon and updates the host element's style. * Accepts either a string with units or a number, which is converted to pixels. * * @param {string | number} size - The size to set, either as a string with units or a number. */ set size(size: string | number); /** * @method svgElementFromString * @description This method converts a string of SVG data into an SVGElement. * @param {string} svgContent - The SVG content as a string. * @returns {SVGElement} - The created SVGElement. */ private svgElementFromString; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }