/** * @file `parseManifest(content, ecosystem)` — dispatches to the right * per-ecosystem manifest parser. On socket-btm's smol Node binary this routes * to `node:smol-manifest`'s native `parseManifest`; on stock Node it * dispatches to `src/eco//parse-manifest.ts` (or `parse-package-json.ts` * for npm). Throws `ManifestError(ERR_UNSUPPORTED)` for ecosystems with no * parser yet (e.g. `'composer'`). */ import type { ParsedManifest } from './types.js'; import type { EcosystemString } from '../purl.js'; export declare function jsParseManifest(content: string, ecosystem: EcosystemString): ParsedManifest; export declare const parseManifest: (content: string, ecosystem: EcosystemString) => ParsedManifest;