export interface CatalogDescriptor { name: string; tomlPath: string; } /** * Parses `dependencyResolutionManagement { versionCatalogs { ... } }` blocks from * settings.gradle or settings.gradle.kts content to extract catalog descriptors. * * Supports: * - Kotlin DSL: `create("name") { from(files("path")) }` * - Groovy DSL: `create("name") { from files("path") }` or `create('name') { ... }` * - Chained form: `create("name").from(files("path"))` * - Multi-line blocks * * Only `from(files("..."))` / `from files("...")` forms are handled. * `from("g:a:v")` (catalog-as-Maven-dep) is silently ignored. * * Gradle always auto-configures the `libs` catalog from `gradle/libs.versions.toml` * regardless of what's in `versionCatalogs`. The block declares ADDITIONAL catalogs, * not replacements. The implicit default is only suppressed when `create("libs")` is * present in the block with an explicit `from(files("..."))` path. * * Returns the default `[{ name: "libs", tomlPath: "gradle/libs.versions.toml" }]` * when the `versionCatalogs` block is absent entirely or contains no `create()` calls. */ export declare function parseSettingsCatalogs(content: string): CatalogDescriptor[];