import { Tree } from '@nx/devkit';
export declare function findVersionCatalogFiles(tree: Tree): Promise<string[]>;
/**
 * Updates a plugin version in a TOML catalog while preserving formatting
 */
export declare function updatePluginVersionInCatalogAst(sourceText: string, pluginName: string, newVersion: string): string | null;
/**
 * Gets the plugin alias from a version catalog for a given plugin ID
 * Returns the alias name (e.g., "nxProjectGraph") if found, null otherwise
 */
export declare function getPluginAliasFromCatalogAst(sourceText: string, pluginName: string): string | null;
/**
 * Extracts plugin version from catalog using AST parsing
 */
export declare function extractPluginVersionFromCatalogAst(sourceText: string, pluginName: string): string | null;
/**
 * Updates Nx plugin version in all catalog files using AST-based approach
 */
export declare function updateNxPluginVersionInCatalogsAst(tree: Tree, expectedVersion: string): Promise<boolean>;
//# sourceMappingURL=version-catalog-ast-utils.d.ts.map