import { Tree } from '@angular-devkit/schematics';
import { WorkspaceSchema } from '@schematics/angular/utility/workspace-models';
/**
 * Parses a JSON string and returns the corresponding JavaScript object.
 * If the JSON string is invalid, an empty object is returned.
 * @param {string} json - The JSON string to parse.
 * @returns {object} - The parsed JavaScript object.
 */
export declare const parseJson: (json: string) => any;
export declare const getRootPath: (append?: string) => string;
/**
 * Retrieves the workspace configuration from the given host.
 * @param {Tree} host - The host object representing the file system.
 * @returns The parsed workspace configuration object.
 * @throws {SchematicsException} If the workspace configuration file cannot be found.
 */
export declare const getWorkspace: (host: Tree) => any;
/**
 * Retrieves the project configuration object from the given workspace or host.
 * @param {WorkspaceSchema | Tree} workspaceOrHost - The workspace or host object.
 * @param {string} projectName - The name of the project to retrieve.
 * @returns The project configuration object.
 */
export declare const getProject: (workspaceOrHost: WorkspaceSchema | Tree, projectName: string) => any;
