import type { ExportsField } from "./build-package-json-exports.js"; type Args = { /** * Preview changes to standard out for debugging. */ dryRun?: boolean; /** * The exports object to write to the package.json file. */ exports: ExportsField; /** * The path to the package.json file to write to. */ packageJsonPath: string; }; /** * Update the package.json file with the new exports object. * * Set `dryRun` to `true` to preview changes to standard out for debugging, * else the changes will be written to the package.json file. */ declare function updatePackageJson({ dryRun, exports, packageJsonPath }: Args): Promise; export { updatePackageJson, };