import type { LilypondVersion } from "../types/lilypondVersion.js"; export interface DownloadLilypondOptions { version: LilypondVersion; cacheDir?: string; fetchImpl?: typeof fetch; log?: (message: string) => void; } /** * Downloads, verifies, and extracts a prebuilt LilyPond release into the * cache dir, then returns the path to its `bin/lilypond[.exe]`. Returns * `undefined` when LilyPond publishes no prebuilt for the current * platform/arch. A previously-completed install for the same version is * reused as-is. */ export declare function downloadLilypond({ version, cacheDir, fetchImpl, log, }: DownloadLilypondOptions): Promise;