import * as i0 from '@angular/core'; import { OnDestroy } from '@angular/core'; import { SbbIconRegistry } from '@sbb-esta/angular/icon'; import { Observable } from 'rxjs'; type PublicApi = { [K in keyof T]: T[K] extends (...x: any[]) => T ? (...x: any[]) => PublicApi : T[K]; }; /** * A null icon registry that must be imported to allow disabling of custom * icons. */ declare class FakeSbbIconRegistry implements PublicApi, OnDestroy { addSvgIcon(): this; addSvgIconLiteral(): this; addSvgIconInNamespace(): this; addSvgIconLiteralInNamespace(): this; addSvgIconSet(): this; addSvgIconSetLiteral(): this; addSvgIconSetInNamespace(): this; addSvgIconSetLiteralInNamespace(): this; registerFontClassAlias(): this; classNameForFontAlias(alias: string): string; getDefaultFontSetClass(): string[]; getSvgIconFromUrl(): Observable; getNamedSvgIcon(): Observable; setDefaultFontSetClass(): this; hasNamespaceSvgIcon(): boolean; addSvgIconResolver(): this; ngOnDestroy(): void; private _generateEmptySvg; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } /** Import this module in tests to install the null icon registry. */ declare class SbbIconTestingModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; } export { FakeSbbIconRegistry, SbbIconTestingModule };