import type { State } from "../../../../utils/state.js"; export interface ApplyOptions { /** Only write this package, leaving the versions saved for the others untouched. */ package?: string; /** Where the progress goes. Nothing is reported when it's not given. */ onProgress?: (message: string) => void; } /** * Write the determined versions of `state` on the `package.json` files, one * package at a time in the order they have been detected (dependencies first), * so a dependent always sees the new version of what it depends on. * * The state is left as it is: removing what has been applied is the caller's * call, and `library publish` needs every package on it until the release is over. * * @throws {PackageNotInStateError} If `options.package` has no saved version. */ export declare function applyVersions(state: State, options?: ApplyOptions): Promise; //# sourceMappingURL=helpers.d.ts.map