/** * Defines the FeatureFlag directive * Author: Callan Heard */ import { OnDestroy, TemplateRef, ViewContainerRef } from '@angular/core'; import { Store } from '@ngrx/store'; import { FeatureFlagState } from '../types/feature-flag.type'; import * as i0 from "@angular/core"; /** Hide or show a DOM element based on feature flag config */ export declare class FeatureFlagDirective implements OnDestroy { private TemplateRef; private ViewContainerRef; private Store; /** Whether the element currently exists in the DOM */ private _exists; /** Store value subscription */ private _subscription; /** Feature flag value to check against */ set featureFlag(v_: string | string[]); /** Inject required providers */ constructor(TemplateRef: TemplateRef, ViewContainerRef: ViewContainerRef, Store: Store<{ featureFlag: FeatureFlagState; }>); /** Remove subscription on component destroy */ ngOnDestroy(): void; /** Update view based on feature status */ update(v_: boolean): void; static ɵfac: i0.ɵɵFactoryDef; static ɵdir: i0.ɵɵDirectiveDefWithMeta; } //# sourceMappingURL=feature-flag.directive.d.ts.map