import { ProjectConfiguration } from '@nx/devkit';

/**
 * Retrieve the project configurations from the workspace.
 *
 * @returns The project configurations.
 */
declare const getProjectConfigurations: <TConfig extends ProjectConfiguration = ProjectConfiguration>() => Promise<Record<string, TConfig>>;
/**
 * Retrieve the project configurations from the workspace.
 *
 * @returns The project configurations.
 */
declare const getProjectConfiguration: <TConfig extends ProjectConfiguration = ProjectConfiguration>(projectName: string) => TConfig | undefined;

export { getProjectConfiguration, getProjectConfigurations };
