/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import { Directionality } from '@angular/cdk/bidi'; import { ElementRef, InjectionToken, NgZone } from '@angular/core'; import { ScrollDispatcher } from './scroll-dispatcher'; import { CdkScrollable } from './scrollable'; import * as i0 from "@angular/core"; export declare const VIRTUAL_SCROLLABLE: InjectionToken; /** * Extending the {@link CdkScrollable} to be used as scrolling container for virtual scrolling. */ export declare abstract class CdkVirtualScrollable extends CdkScrollable { constructor(elementRef: ElementRef, scrollDispatcher: ScrollDispatcher, ngZone: NgZone, dir?: Directionality); /** * Measure the viewport size for the provided orientation. * * @param orientation The orientation to measure the size from. */ measureViewportSize(orientation: 'horizontal' | 'vertical'): number; /** * Measure the bounding ClientRect size including the scroll offset. * * @param from The edge to measure from. */ abstract measureBoundingClientRectWithScrollOffset(from: 'left' | 'top' | 'right' | 'bottom'): number; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; }