import { ChangeDetectorRef, OnChanges } from '@angular/core'; import { IconNames } from './svg'; import { DomSanitizer, SafeHtml } from '@angular/platform-browser'; export declare class IconComponent implements OnChanges { private _sanitizer; private _changeDetector; name: IconNames; size?: 'small' | 'medium' | 'large' | number; stroke?: string | undefined; color?: string | { [key: string]: string; }; path: SafeHtml; viewBox: string; strokeColor: string; fillColor: string; iconSize: string; private _sizes; constructor(_sanitizer: DomSanitizer, _changeDetector: ChangeDetectorRef); ngOnChanges(): void; /** * Return true if the icon is a stroke */ isStroke(): boolean; /** * Generate the right size for the icon depending of the size given by the user or specific styles * applied */ private generateSize(); /** * Generate the right color depending if the color attribute exist or not and the icon type */ private generateColor(); /** * Return the right color form this.color */ private getColor(); /** * Return true if the value is a number */ private static isNumber(n); }