import { ChangeDetectorRef, ElementRef, EventEmitter } from '@angular/core'; import { GuiComponent } from './gui-component'; import { HermesObservable } from '@generic-ui/hermes'; import * as i0 from "@angular/core"; export declare abstract class SmartComponent extends GuiComponent { protected readonly detector: ChangeDetectorRef; private viewInDom; private readonly unsubscribe$; protected constructor(detector: ChangeDetectorRef, elementRef: ElementRef); ngAfterViewInit(): void; ngOnDestroy(): void; reRender(): void; isViewInDom(): boolean; /** * @deprecated instead use useReactiveContext */ subscribe(stream$: HermesObservable, callback: (value: T) => void): void; /** * @deprecated instead use useReactiveContext */ subscribeWithoutRender(stream$: HermesObservable, callback: (value: T) => void): void; subscribeAndEmit(stream$: HermesObservable, emitter: EventEmitter, mapper?: (value: V) => any): void; protected unsubscribe(): void; protected takeUntil(): any; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; }