export interface GitInfo extends Record { /** 用户名称 */ userName: string; /** 用户邮箱 */ userEmail: string; } /** * 获取git全局配置信息 */ export declare function readGlobalGitInfo(strict: true): Promise; export declare function readGlobalGitInfo(strict?: false): Promise; /** * 创建git仓库 */ export declare function createGitRepository(root: string): Promise;