import { EmbeddedViewRef, TemplateRef, ViewContainerRef } from '@angular/core'; import { AsyncData } from '@nll/dux'; interface AsyncCaseView { viewContainerRef: ViewContainerRef; templateRef: TemplateRef; } export declare class AsyncDataDirective { asyncData: AsyncData; pendingCases: AsyncCaseView[]; failureCases: AsyncCaseView[]; successCases: AsyncCaseView[]; mountedCases: AsyncCaseView[]; set nllAsyncData(asyncData: AsyncData); registerPending: (viewContainerRef: ViewContainerRef, templateRef: TemplateRef) => number; registerFailure: (viewContainerRef: ViewContainerRef, templateRef: TemplateRef) => number; registerSuccess: (viewContainerRef: ViewContainerRef, templateRef: TemplateRef) => number; ensureCaseView: (caseView: AsyncCaseView, context?: any) => void; createCaseView: (caseView: AsyncCaseView, context?: any) => void; removeCaseView: (caseView: AsyncCaseView) => void; updateViewRef: (viewRef: EmbeddedViewRef, context?: any) => void; } export {};