import { ComponentFactoryResolver, ComponentRef, ElementRef, Injector, OnChanges, SimpleChanges, TemplateRef, ViewContainerRef } from '@angular/core';
import { LoadingStyle, LoadingType } from './loading.types';
import * as i0 from "@angular/core";
export declare class LoadingDirective implements OnChanges {
    private componentFactoryResolver;
    private triggerElementRef;
    private viewContainerRef;
    private injector;
    private elementRef;
    message: string;
    backdrop: boolean;
    loadingTemplateRef: TemplateRef<any>;
    positionType: string;
    view: {
        top?: string;
        left?: string;
    };
    position: string;
    showLoading: any;
    loading: LoadingType;
    zIndex: number;
    loadingStyle: LoadingStyle;
    backdropRef: ComponentRef<any>;
    loadingRef: ComponentRef<any>;
    active: boolean;
    constructor(componentFactoryResolver: ComponentFactoryResolver, triggerElementRef: ElementRef, viewContainerRef: ViewContainerRef, injector: Injector, elementRef: ElementRef);
    ngOnChanges(changes: SimpleChanges): void;
    loadingChangeEvent(loading: any): void;
    showLoadingChangeEvent(showLoading: any): void;
    private startLoading;
    private endLoading;
    private createLoadingBackdrop;
    private insert;
    static ɵfac: i0.ɵɵFactoryDeclaration<LoadingDirective, never>;
    static ɵdir: i0.ɵɵDirectiveDeclaration<LoadingDirective, "[dLoading]", ["dLoading"], { "message": "message"; "backdrop": "backdrop"; "loadingTemplateRef": "loadingTemplateRef"; "positionType": "positionType"; "view": "view"; "showLoading": "showLoading"; "loading": "loading"; "zIndex": "zIndex"; "loadingStyle": "loadingStyle"; }, {}, never, never, false>;
}
