import { AfterViewInit, ApplicationRef, Injector, OnInit, TemplateRef, ViewContainerRef } from '@angular/core'; import { BehaviorSubject } from 'rxjs'; import { DefaultDirective } from 'tql-service'; import * as i0 from "@angular/core"; export declare class TqlSpinDirective extends DefaultDirective implements OnInit, AfterViewInit { private _ViewContainerRef; private _ApplicationRef; private _Injector; opacity: number; backgroundColor: string; delay: number; spinTemplate: TemplateRef; private _spinning; set spinning(v: boolean); get spinning(): boolean; private instance; private parentDom; private childDom; spin$: BehaviorSubject; constructor(_ViewContainerRef: ViewContainerRef, _ApplicationRef: ApplicationRef, _Injector: Injector); ngOnInit(): void; ngAfterViewInit(): void; /** * add dom */ private addComponent; /** * update instance's data */ private updateInstance; private toggleSpinning; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; }