/** * opam (OCaml) package detector and reader for package-compatibility discovery. * * @experimental This API is unstable and may change without notice. * @packageDocumentation */ import type { PackageDetector, PackageReader } from "./types.js"; /** * opam package detector. * * Scans `*.opam` files for `depends` fields and `dune-project` for * `(depends ...)` s-expressions. Skips `ocaml` and `dune` build tooling. * Dependencies are deduplicated by name. * * @experimental This API is unstable and may change without notice. */ export declare const opamDetector: PackageDetector; /** * opam package reader. * * Reads `x-axm` prefixed custom fields from `.opam` files in the * opam switch at `~/.opam//lib//opam`. * * @experimental This API is unstable and may change without notice. */ export declare const opamReader: PackageReader; //# sourceMappingURL=opam.d.ts.map