import { EmbeddedViewRef, TemplateRef, ViewContainerRef } from '@angular/core'; import { RxVirtualForViewContext } from '../list-view-context'; import { LiveCollection } from './list-reconciliation'; declare type View = EmbeddedViewRef>; export declare class LiveCollectionLContainerImpl extends LiveCollection, T> { private viewContainer; private templateRef; private templateCacheSize; /** Property indicating if indexes in the repeater context need to be updated following the live collection changes. Index updates are necessary if and only if views are inserted / removed in the middle of LContainer. Adds and removals at the end don't require index updates. */ private needsIndexUpdate; updatedIndices: Set; viewsUpdated: Map, number>; private startRange; private viewCache; private itemCount; constructor(viewContainer: ViewContainerRef, templateRef: TemplateRef>, templateCacheSize?: number); get length(): number; at(index: number): T; attach(index: number, view: View): void; detach(index: number): View; create(index: number, value: T): View; destroy(view: View): void; updateValue(index: number, value: T): void; reset(itemCount: number, startRange: number): void; teardown(): void; updateIndexes(): void; private getView; /** Detaches the view at the given index and inserts into the view cache. */ private detachAndCacheView; } export {};