27 lines
696 B
TypeScript
27 lines
696 B
TypeScript
import type { App } from 'vuepress';
|
|
import type { GitChangelogInfo } from '../shared/index.js';
|
|
import type { ChangelogOptions, ContributorInfo } from './options.js';
|
|
import type { MergedRawCommit } from './typings.js';
|
|
/**
|
|
* Resolve changelog
|
|
*
|
|
* 解析变更日志
|
|
*
|
|
* @param app - VuePress app instance
|
|
*
|
|
* VuePress 应用实例
|
|
*
|
|
* @param commits - Git commits
|
|
*
|
|
* Git 提交记录
|
|
*
|
|
* @param options - Changelog options
|
|
*
|
|
* 变更日志选项
|
|
*
|
|
* @param contributors - Contributor info
|
|
*
|
|
* 贡献者信息
|
|
*/
|
|
export declare const resolveChangelog: (app: App, commits: MergedRawCommit[], options: ChangelogOptions, contributors: ContributorInfo[]) => GitChangelogInfo[];
|