import * as i0 from '@angular/core'; import { OnInit, OnDestroy, Provider } from '@angular/core'; import { Observable } from 'rxjs'; declare class FeatureAlertsService { private _w; LOCAL_STORAGE_KEY: string; private _dismissSubject; dismiss$: Observable; constructor(); dismiss(id: string): void; enable(id: string): void; wasAlertDismissed(id: string): boolean; private _get; private _set; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } interface IFeatureAlertParams { id: string; title: string; message: string; placement: string; containerClass?: string; triggers?: string; container?: string; isBlockEl?: boolean; } declare class HotspotComponent { private _featureAlertsService; private _cdRef; position: string; id: any; get isOpen(): boolean; dismiss(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } declare class FeatureAlertsDirective implements OnInit, OnDestroy { /** * This directive shows/hides content depending on whether or not a given feature ID is enabled/disabled in local storage * It listens for changes on the FeatureAlertsService _dismissSubject and shows/hides accordingly * * Implementation : * * HTML * New Feature * New * * Typescript * _featureAlertsService = inject(FeatureAlertsService); * dismiss(id) { * this._featureAlertsService.dismiss(id); * } */ /** * ID of the new feature to be stored in local storage */ nwFeatureAlert: string; private _isInView; private _templateRef; private _viewContainer; private _featureAlertsService; private _destroyed$; ngOnInit(): void; private _toggleFeatureAlert; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } declare class WindowRef { get nativeWindow(): Window & typeof globalThis; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } declare function provideFeatureAlerts(): Provider[]; export { FeatureAlertsDirective, FeatureAlertsService, HotspotComponent, WindowRef, provideFeatureAlerts }; export type { IFeatureAlertParams };