import { MaybePromise } from '@opensumi/ide-utils';
import { CompositeTreeNode } from '../tree/TreeNode';
import { ICompositeTreeNode, ITreeNodeOrCompositeTreeNode } from './tree-node';
export interface ITree {
    resolveChildren: (parent?: ICompositeTreeNode) => MaybePromise<ITreeNodeOrCompositeTreeNode[] | null>;
    sortComparator?: (a: ITreeNodeOrCompositeTreeNode, b: ITreeNodeOrCompositeTreeNode) => number;
    root?: CompositeTreeNode;
}
//# sourceMappingURL=tree.d.ts.map