import * as i0 from '@angular/core'; import { InjectionToken, OnChanges, ElementRef, Renderer2, SimpleChanges } from '@angular/core'; import * as i1 from '@kirbydesign/designsystem/shared'; import * as i2 from '@ionic/angular/standalone'; interface Icon { name: string; svg?: string; } interface IconSettings { icons: Icon[]; } declare const DEFAULT_BUILT_IN_ICONS_URL = "assets/kirby/icons/svg/"; /** * Token used to configure base URL for path to built-in icons. Default is 'assets/kirby/icons/svg'. */ declare const BUILT_IN_ICONS_URL: InjectionToken; declare class IconRegistryService { private builtInIconsUrl; private iconRegistry; constructor(builtInIconsUrl: string); addIcon(iconName: string, svgPath: string): void; addIcons(icons: Icon[]): void; private addDefaultIcons; getIcons(): Icon[]; getIcon(name: string): Icon; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare enum IconSize { XS = "xs", SM = "sm", MD = "md", LG = "lg" } declare class IconComponent implements OnChanges { private iconRegistryService; private elementRef; private renderer; defaultIcon: Icon; private _icon; private element; size: IconSize | `${IconSize}`; name: string; get icon(): Icon; set icon(icon: Icon); private warnAboutMissingIcon; constructor(iconRegistryService: IconRegistryService, elementRef: ElementRef, renderer: Renderer2); ngOnChanges(changes: SimpleChanges): void; private setAriaHiddenIfNoLabel; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class IconModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } declare const kirbyIconSettings: IconSettings; declare const defaultIcons: string[]; export { BUILT_IN_ICONS_URL, DEFAULT_BUILT_IN_ICONS_URL, IconComponent, IconModule, IconRegistryService, IconSize, defaultIcons, kirbyIconSettings }; export type { Icon, IconSettings }; //# sourceMappingURL=kirbydesign-designsystem-icon.d.ts.map