import { BasicPackageOptions, FiledistExtractEntry, ProgressEvent } from '../types'; import { InstallResult } from './action-install'; export type UpdateOptions = Omit & { entries?: FiledistExtractEntry[]; onProgress?: (event: ProgressEvent) => void; /** * Absolute path to the lock file. Derived from the config file path via getLockfilePath(). */ lockfilePath: string; /** * When true (default), forces every entry selector to upgrade=true so the * package manager fetches the latest matching version from the registry. * Set to false to re-resolve from whatever is currently installed locally * (useful for testing without registry access). */ upgrade?: boolean; }; /** * Update managed files to their latest available package versions. * * Reads the set definitions from .filedist.lock (falls back to the entries option * when no lockfile is present). Forces upgrade=true on every entry selector so * npm/git sources are re-fetched for the newest matching version. Then runs a * full install (frozenLockfile=false), which resolves and writes an updated * lockfile with new package refs, updated sets, and an updated managed files list. */ export declare function actionUpdate(options: UpdateOptions): Promise; //# sourceMappingURL=action-update.d.ts.map