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