/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ import { DateInputsClassStructure } from '@progress/kendo-react-common'; import { ScrollAction, PageAction } from './services/index.js'; import * as React from 'react'; /** * @hidden */ export interface ScrollActionArguments { index: number; target: HTMLDivElement | null; scrollAction?: ScrollAction; pageAction?: PageAction; animationInProgress: boolean; } /** * @hidden */ export declare enum ScrollDirection { Backward = 0, Forward = 1 } /** * @hidden */ export type Direction = 'horizontal' | 'vertical'; /** * @hidden */ export interface VirtualizationProps { bottomOffset: number; className?: string; direction?: Direction; itemHeight?: number; itemWidth?: number; maxScrollDifference?: number; onMount?: any; onScroll?: (event: React.SyntheticEvent) => void; onScrollAction?: (args: ScrollActionArguments) => void; scrollOffsetSize?: number; scrollDuration?: number; skip: number; tabIndex?: number; take: number; topOffset: number; total: number; role?: string; children?: React.ReactNode; unstyled?: DateInputsClassStructure; } /** * @hidden */ export interface VirtualizationHandle { element: HTMLDivElement | null; containerScrollSize: number; containerScrollPosition: number; activeIndex(): number; scrollTo(value: number): void; scrollToIndex(index: number): void; animateToIndex(index: number): void; scrollToBottom(): void; isIndexVisible(index: number): boolean; isListScrolled(index: number): boolean; itemIndex(offset: number): number; itemOffset(index: number): number; } /** * The default props of the Virtualization component. * * @hidden */ export declare const virtualizationDefaultProps: { direction: Direction; scrollOffsetSize: number; maxScrollDifference: number; scrollDuration: number; }; /** * @hidden */ export declare const Virtualization: React.ForwardRefExoticComponent>;