import { BumpConfig, BumpConfig as BumpConfig$1, BumpState, BumpVersionResult, BumpVersionResult as BumpVersionResult$1, ChangelogSection, ChangelogSection as ChangelogSection$1, ChangelogTypeEntry, ChangelogTypeValue, ChangelogTypes, GenerateChangelogResult, GitlabSection, RepoConfig, ScriptsSection, TemplatesSection } from "@vill-v/bumpp-core"; //#region src/types.d.ts /** * 用户配置信息:napi 生成 `BumpConfig` 的别名——扁平镜像配置文件形状 * (ADR-0013),另含 overrides 专用机制键 `configFilePath`;统一经 Rust * 单一解析路径解析(overrides > 项目 .vbumpprc.* > 全局 ~/.vbumpp/config.* > 内建默认) */ type Config = BumpConfig$1; /** * changelog 段配置:napi 生成 `ChangelogSection` 的别名 */ type ChangelogOptions = ChangelogSection$1; /** * bumpVersion 返回结果(ADR-0014 收缩后):版本状态 + changelog(无 tag 时缺省)。 * 明文 token 不出 Rust 边界,`config` 字段已随重写移除 */ type BumpVersion = BumpVersionResult$1; //#endregion //#region src/bump.d.ts /** * 更新版本(ADR-0014:编排全在 Rust Core——统一配置解析 → 交互选版本 → * changelog → 文件/脚本/git;本函数仅类型化透传,类型不符在 napi 边界 * 即运行期报错,ADR-0037) * @param option 扁平配置覆盖(与 .vbumpprc.* 同形,ADR-0013) */ declare const bumpVersion: (option?: Config) => Promise; //#endregion export { type BumpConfig, type BumpState, BumpVersion, type BumpVersionResult, ChangelogOptions, type ChangelogSection, type ChangelogTypeEntry, type ChangelogTypeValue, type ChangelogTypes, Config, type GenerateChangelogResult, type GitlabSection, type RepoConfig, type ScriptsSection, type TemplatesSection, bumpVersion };