import { TreeLike } from './tree'; /** * Determines if a specified target exists within a given project in a tree-like structure. * * @param {TreeLike} tree - The tree-like structure containing project data. * @param {string} projectName - The name of the project to search within the tree. * @param {string} targetName - The name of the target to check for in the specified project. * @returns {boolean} Returns `true` if the target exists in the project, otherwise `false`. * * @example * // Assuming a tree structure and a project named 'myProject' with a target named 'build' * const tree = { * projects: { * 'myProject': { * targets: { * 'build': {...} * } * } * } * }; * const exists = HasTarget(tree, 'myProject', 'build'); // returns true */ export declare function HasTarget(project: { targets?: Record; }, targetName: string): boolean; export declare function HasTarget(tree: TreeLike, projectName: string, targetName: string): boolean;