/** * Changelog diffing for build ingestion. * * Compares an incoming `BuildConfig` against the previously stored build to * produce a `StoredChangeLog`. Delegates to the existing section-level diff * functions in `change-logs/diff.ts` so diffing logic is never duplicated. */ import type { Db } from "mongodb"; import type { BuildConfig } from "../types/build-type.js"; import type { StoredBuildMeta, StoredChangeLog } from "./schemas.js"; /** * Produces a `StoredChangeLog` by diffing `config` against the existing build * identified by `existingMeta`. * * Returns `null` on first ingestion (no previous build to diff against). */ export declare function diffChangelog(db: Db, config: BuildConfig, existingMeta: StoredBuildMeta | null): Promise; //# sourceMappingURL=changelog.d.ts.map