import { Platform } from '@angular/cdk/platform'; import { HttpBackend } from '@angular/common/http'; import { InjectionToken, OnDestroy, RendererFactory2 } from '@angular/core'; import { DomSanitizer } from '@angular/platform-browser'; import { Subject } from 'rxjs'; import { IconDefinition, IconService } from '@ant-design/icons-angular'; import { WtSafeAny } from 'ngx-wonton/core/types'; import * as i0 from "@angular/core"; export interface WtIconfontOption { scriptUrl: string; } export declare const WT_ICONS: InjectionToken; export declare const WT_ICON_DEFAULT_TWOTONE_COLOR: InjectionToken; export declare const DEFAULT_TWOTONE_COLOR = "#1890ff"; /** * It should be a global singleton, otherwise registered icons could not be found. */ export declare class WtIconService extends IconService implements OnDestroy { private platform; configUpdated$: Subject; protected get _disableDynamicLoading(): boolean; private iconfontCache; private subscription; ngOnDestroy(): void; normalizeSvgElement(svg: SVGElement): void; fetchFromIconfont(opt: WtIconfontOption): void; createIconfontIcon(type: string): SVGElement; constructor(rendererFactory: RendererFactory2, sanitizer: DomSanitizer, platform: Platform, handler: HttpBackend, _document: WtSafeAny, icons?: IconDefinition[]); private onConfigChange; private configDefaultTheme; private configDefaultTwotoneColor; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } export declare const WT_ICONS_PATCH: InjectionToken; export declare class WtIconPatchService { private extraIcons; private rootIconService; patched: boolean; constructor(extraIcons: IconDefinition[], rootIconService: WtIconService); doPatch(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }