import "../../CommonImports"; import "../../Core/core.css"; import "./DropdownList.css"; import "./List.css"; import "./ListDropIndicator.css"; import * as React from "react"; import { IReadonlyObservableValue } from '../../Core/Observable'; import { IEventDispatch } from '../../Utilities/Dispatch'; import { IItemProvider } from '../../Utilities/Provider'; import { IFixedHeightList, IFixedHeightListCellDetails, IFixedHeightListMaterializedStats, IFixedHeightListProps } from "./FixedHeightList.Props"; export interface IFixedHeightListState { eventDispatch: IEventDispatch; firstMaterialized: number; itemProvider: IItemProvider>; lastMaterialized: number; focusRows: { [rowIndex: number]: JSX.Element | null; }; renderedRows: { [rowIndex: number]: JSX.Element | null; }; rowCount: number; rowHeight: number; rowProportion: number; rows: { [rowIndex: number]: T | IReadonlyObservableValue; }; scrollTop: number; scrollTopRect: number; maxHeight: number; } /** * The FixedHeightList component is used to render a collection of items with a series of rows. */ export declare class FixedHeightList extends React.Component, IFixedHeightListState> implements IFixedHeightList { static contextType: React.Context; static defaultProps: Partial>; static getDerivedStateFromProps(props: Readonly>, state: Readonly>): Partial> | null; private intersectionElements; private bodyElement; private listElement; private onScrollComplete?; private scrollToIndex; private scrollToOptions; private selectOnFocus; private focusIndex; private pivotIndex; constructor(props: Readonly>); private getListRole; private getItemRole; render(): JSX.Element; componentDidMount(): void; componentDidUpdate(prevProps: IFixedHeightListProps, prevState: IFixedHeightListState): void; componentWillUnmount(): void; getFocusIndex(): number; getStats(): IFixedHeightListMaterializedStats; scrollIntoView(rowIndex: number, options?: ScrollIntoViewOptions, onScrollComplete?: (rowIndex: number) => void): void; private focusRow; private onBlur; private onClick; private onDispatch; private onDoubleClick; private onFocusBody; private onFocusItem; private onKeyDown; private onIntersect; private onMouseDownBody; private processSelectionEvent; private renderLoadingRow; private renderIntersectionBounds; private renderRow; private rowActivated; private rowSelected; private rowFocused; } export declare function rowFromElement(element: HTMLElement | null): IFixedHeightListCellDetails; export declare function rowFromEvent(event: React.SyntheticEvent): IFixedHeightListCellDetails;