import { OnDestroy, OnInit, TemplateRef, ViewContainerRef } from '@angular/core'; import { BehaviorSubject, Observable } from 'rxjs'; import * as i0 from "@angular/core"; /** * A base class for implementing custom *ngIf-style structural directives based on custom conditions. * * @dynamic */ export declare class IfDirectiveBase implements OnInit, OnDestroy { private _viewContainer; private updateViewFn; protected updateArgs$: BehaviorSubject; private readonly _thenTemplateRef; private _elseTemplateRef; private _thenViewRef; private _elseViewRef; private subscription; constructor(_viewContainer: ViewContainerRef, templateRef: TemplateRef, updateViewFn: (...args: Args) => Observable); ngOnInit(): void; ngOnDestroy(): void; protected setElseTemplate(templateRef: TemplateRef | null): void; private showThen; private showElse; private assertTemplate; static ɵfac: i0.ɵɵFactoryDeclaration, never>; static ɵdir: i0.ɵɵDirectiveDeclaration, never, never, {}, {}, never, never, true, never>; }