import { ExecutorContext, ProjectConfiguration, Tree } from '@nx/devkit'; import { SpawnSyncOptions } from 'child_process'; import { PoetryPyprojectToml, PoetryPyprojectTomlDependencies } from './types'; export declare const POETRY_EXECUTABLE = "poetry"; export declare function checkPoetryExecutable(): Promise; export declare function getPoetryVersion(cwd?: string): Promise; export declare function getPoetryVersion(context?: ExecutorContext): Promise; export declare function addLocalProjectToPoetryProject(targetConfig: ProjectConfiguration, dependencyConfig: ProjectConfiguration, dependencyPath: string, group?: string, extras?: string[], tree?: Tree): string; export declare function getProjectTomlPath(targetConfig: ProjectConfiguration): string; export declare function parseToml(tomlFile: string, tree?: Tree): PoetryPyprojectToml; export type RunPoetryOptions = { log?: boolean; error?: boolean; } & SpawnSyncOptions; export declare function runPoetry(args: string[], options?: RunPoetryOptions): void; /** * Parses all dependency names from a Pyproject.toml file * and returns a flattened collection of dependencies * * Optionally you may supply a list of groups to ignore */ export declare const getAllDependenciesFromPyprojectToml: (tomlData: PoetryPyprojectToml, /** optional dependency groups to omit from collection */ omitGroups?: string[]) => PoetryPyprojectTomlDependencies; //# sourceMappingURL=utils.d.ts.map