/** * Static adjacent tooling matrix by stack signal (#295). * * Maps demand-profile stack/language signals to high-confidence adjacent package * names that a workspace should probably be using but may not have declared yet. * These are fetched via registry metadata when the matching signal is present, * and tagged as `discoveryMethod: "registry-adjacent-search"` in the catalog. * * Only include packages with near-universal adoption in their ecosystem. * Controversial or niche choices do not belong here. * * ## Maintenance * * This matrix is static and has no automated freshness validation. Packages * can be renamed, deprecated, or superseded. To audit: * * ```bash * # Check a package still resolves in its registry * npm view name 2>/dev/null && echo "OK" || echo "STALE" * cargo search --limit 1 2>/dev/null | head -1 * ``` * * Scheduled audit cadence: every minor release. Stale entries should be * removed — a missing adjacent suggestion is less harmful than a wrong one. */ import type { PackageRegistryKind } from "./package-candidates.js"; /** Adjacent npm packages keyed by demand signal keyword. */ export declare const ADJACENT_NPM_BY_SIGNAL: Record; /** Adjacent PyPI packages keyed by demand signal keyword. */ export declare const ADJACENT_PYPI_BY_SIGNAL: Record; /** Adjacent crates.io crates keyed by demand signal keyword. */ export declare const ADJACENT_CARGO_BY_SIGNAL: Record; /** Adjacent NuGet packages keyed by demand signal keyword. */ export declare const ADJACENT_NUGET_BY_SIGNAL: Record; /** Adjacent Maven packages keyed by demand signal keyword (groupId:artifactId). */ export declare const ADJACENT_MAVEN_BY_SIGNAL: Record; /** Adjacent Packagist packages keyed by demand signal keyword. */ export declare const ADJACENT_PACKAGIST_BY_SIGNAL: Record; /** Adjacent RubyGems packages keyed by demand signal keyword. */ export declare const ADJACENT_GEM_BY_SIGNAL: Record; /** * Returns static adjacent package names for a given registry kind and a set * of demand signal tokens. * * Tokens are matched case-insensitively against the signal map keys. */ export declare function getAdjacentPackagesForSignals(registryKind: PackageRegistryKind, signalTokens: Iterable): string[];