import "../../CommonImports"; import "../../Core/core.css"; import "./Tree.css"; import "./TreeExpand.css"; import * as React from "react"; import { IListMaterializedStats, IOverlayRenderProps } from '../../List'; import { ISimpleTableCell } from '../../Table'; import { ITreeItemEx } from '../../Utilities/TreeItemProvider'; import { ITree, ITreeColumn, ITreeProps, ITreeRowDetails, ITreeRowProps } from "./Tree.Props"; export declare class Tree extends React.Component> implements ITree { private table; render(): JSX.Element; addOverlay(id: string, rowIndex: number, render: (props: IOverlayRenderProps) => React.ReactNode, zIndex?: number): void; removeOverlay(id: string): void; focusRow(rowIndex: number, direction?: number): Promise; getFocusIndex(): number; getStats(): IListMaterializedStats; scrollIntoView(rowIndex: number, options?: ScrollIntoViewOptions): void; private onActivateExpand; private renderRow; } export declare class TreeRow extends React.Component> { private rowElement; render(): JSX.Element; private onFocus; private onKeyDown; private onPostprocessKeyStroke; } export declare function renderTreeRow(rowIndex: number, item: ITreeItemEx, details: ITreeRowDetails, columns: ITreeColumn[], data?: T, className?: string, key?: React.Key | null): JSX.Element; /** * Standard cell renderer for a tree cell with expandable children. This will use the tree items * state to determine whether or not the row is expanded etc. */ export declare function ExpandableTreeCell(props: { children?: React.ReactNode; className?: string; colspan?: number; columnIndex: number; contentClassName?: string; treeColumn?: ITreeColumn; treeItem: ITreeItemEx; role?: string; }): JSX.Element; export declare function renderExpandableTreeCell(rowIndex: number, columnIndex: number, treeColumn: ITreeColumn, treeItem: ITreeItemEx, ariaRowIndex?: number | undefined, role?: string): JSX.Element; export declare function renderTreeCell(rowIndex: number, columnIndex: number, treeColumn: ITreeColumn, treeItem: ITreeItemEx, ariaRowIndex?: number | undefined, role?: string): JSX.Element; export declare function renderTreeCellWithClassName(rowIndex: number, columnIndex: number, treeColumn: ITreeColumn, treeItem: ITreeItemEx, contentClassName: string): JSX.Element;