import { NodeData, NodePublicState, OpennessState, Tree, TreeProps, TreeState } from "./Tree.js"; import { VariableSizeList, VariableSizeListProps } from "react-window"; import { ReactNode } from "react"; //#region src/VariableSizeTree.d.ts type VariableSizeNodeData = Readonly<{ /** Default node height. Can be used only with VariableSizeTree */defaultHeight: number; }> & NodeData; type VariableSizeNodePublicState = NodePublicState & { height: number; resize(height: number, shouldForceUpdate?: boolean): void; }; type VariableSizeTreeProps = TreeProps, VariableSizeList> & Readonly<{ itemSize?: VariableSizeListProps["itemSize"]; }>; type VariableSizeTreeState = TreeState, VariableSizeList> & Readonly<{ resetAfterId(id: string, shouldForceUpdate?: boolean): void; }>; declare class VariableSizeTree extends Tree, VariableSizeTreeProps, VariableSizeTreeState, VariableSizeList> { constructor(props: VariableSizeTreeProps, context: any); resetAfterId(id: string, shouldForceUpdate?: boolean): void; override recomputeTree(state: OpennessState>): Promise; override render(): ReactNode; private getItemSize; } //#endregion export { VariableSizeNodeData, VariableSizeNodePublicState, VariableSizeTree, VariableSizeTreeProps, VariableSizeTreeState }; //# sourceMappingURL=VariableSizeTree.d.ts.map