import { OnDestroy } from '@angular/core'; import { ListRange, RxVirtualScrollStrategy, RxVirtualScrollViewport, RxVirtualViewRepeater } from '../model'; import { RxVirtualScrollDefaultOptions } from '../virtual-scroll.config'; import * as i0 from "@angular/core"; /** * @Directive FixedSizeVirtualScrollStrategy * * @description * * The `FixedSizeVirtualScrollStrategy` provides a very performant way of rendering * items of a given size. It is comparable to \@angular/cdk `FixedSizeVirtualScrollStrategy`, but * with a high performant layouting technique. * * @docsCategory RxVirtualFor * @docsPage RxVirtualFor * @publicApi */ export declare class FixedSizeVirtualScrollStrategy extends RxVirtualScrollStrategy implements OnDestroy { private readonly defaults?; /** * @description * The size of the items in the virtually scrolled list */ set itemSize(itemSize: number); get itemSize(): number; private _appendOnly; set appendOnly(input: boolean); get appendOnly(): boolean; private _itemSize; /** * @description * The amount of items to render upfront in scroll direction */ private _runwayItems; set runwayItems(runwayItems: number); get runwayItems(): number; /** * @description * The amount of items to render upfront in reverse scroll direction */ private _runwayItemsOpposite; set runwayItemsOpposite(runwayItemsOpposite: number); get runwayItemsOpposite(): number; /** @internal */ private readonly runwayStateChanged$; private viewport; private viewRepeater; private readonly _scrolledIndex$; readonly scrolledIndex$: import("rxjs").Observable; private set scrolledIndex(value); private readonly _contentSize$; readonly contentSize$: import("rxjs").Observable; private _contentSize; private set contentSize(value); private readonly _renderedRange$; renderedRange$: import("rxjs").Observable; private _renderedRange; private set renderedRange(value); private get renderedRange(); private scrollTop; /** @internal */ private scrollTopWithOutOffset; /** @internal */ private scrollTopAfterOffset; /** @internal */ private viewportOffset; /** @internal */ private containerSize; private direction; private readonly detached$; constructor(defaults?: RxVirtualScrollDefaultOptions); ngOnDestroy(): void; attach(viewport: RxVirtualScrollViewport, viewRepeater: RxVirtualViewRepeater): void; detach(): void; private positionElements; private calcRenderedRange; scrollToIndex(index: number, behavior?: ScrollBehavior): void; private untilDetached$; private _setViewPosition; static ɵfac: i0.ɵɵFactoryDeclaration, [{ optional: true; }]>; static ɵdir: i0.ɵɵDirectiveDeclaration, "rx-virtual-scroll-viewport[itemSize]", never, { "itemSize": "itemSize"; "appendOnly": "appendOnly"; "runwayItems": "runwayItems"; "runwayItemsOpposite": "runwayItemsOpposite"; }, {}, never>; } export declare class FixedSizeVirtualScrollStrategyModule { static ɵfac: i0.ɵɵFactoryDeclaration; static ɵmod: i0.ɵɵNgModuleDeclaration; static ɵinj: i0.ɵɵInjectorDeclaration; }