/**
 * Copyright (c) 2020-present, Goldman Sachs
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
import type { PackageTreeNodeData } from './TreeUtils.js';
import type { TreeNodeData, TreeData } from '@finos/legend-art';
import type { EditorStore } from '../EditorStore.js';
import { type PackageableElement, Package } from '@finos/legend-graph';
export declare const getSelectedPackageTreeNodePackage: (node: PackageTreeNodeData | undefined) => Package | undefined;
export declare const generatePackageableElementTreeNodeDataLabel: (element: PackageableElement) => string;
export declare const getPackableElementTreeNodeData: (editorStore: EditorStore, element: PackageableElement, childFilter?: (childElement: PackageableElement) => boolean) => PackageTreeNodeData;
export declare const getDependencyPackableElementTreeNodeData: (editorStore: EditorStore, element: PackageableElement, rootName: string, isDependencyRoot: boolean, childFilter?: (childElement: PackageableElement) => boolean) => PackageTreeNodeData;
export declare const getPackableElementTreeData: (editorStore: EditorStore, _package: Package, rootWrapperName: string, childFilter?: (childElement: PackageableElement) => boolean) => TreeData<PackageTreeNodeData>;
export declare const getDependenciesPackableElementTreeData: (editorStore: EditorStore, _packages: Package[], rootWrapperName: string, childFilter?: (childElement: PackageableElement) => boolean) => TreeData<PackageTreeNodeData>;
/**
 * Resolve all children of a node
 */
export declare const populatePackageTreeNodeChildren: (editorStore: EditorStore, node: PackageTreeNodeData, treeData: TreeData<PackageTreeNodeData>, isDependencyTree?: boolean | undefined) => void;
export declare const addNode: (editorStore: EditorStore, element: PackageableElement, treeData: TreeData<PackageTreeNodeData>, childFilter?: (childElement: PackageableElement) => boolean, isDependencyTreeNode?: boolean | undefined) => PackageTreeNodeData;
export declare const openNode: (editorStore: EditorStore, element: PackageableElement, treeData: TreeData<PackageTreeNodeData>, childFilter?: (childElement: PackageableElement) => boolean, isDependencyElement?: boolean) => PackageTreeNodeData | undefined;
export declare const openNodes: (editorStore: EditorStore, parent: Package, activeElements: Set<PackageableElement>, treeData: TreeData<PackageTreeNodeData>) => void;
export declare const openNodeById: (id: string, treeData: TreeData<TreeNodeData> | undefined) => void;
export declare const getTreeChildNodes: (editorStore: EditorStore, node: PackageTreeNodeData, treeData: TreeData<PackageTreeNodeData>, isDependencyTree?: boolean | undefined) => PackageTreeNodeData[];
//# sourceMappingURL=PackageTreeUtils.d.ts.map