/** * Initializes a new Git repository to the destination folder. On demand, creates the desired folder structure and commits the changes. * * @param path the desired destination folder for the new Git repository. * @param add `true` if all the repository content has to be added to the index. * @param commit `true` if the directory structure has to be committed. */ export declare function initRepository(path: string, add?: boolean, commit?: boolean): Promise; export declare function createTestRepository(root: string): Promise; export declare function usesLocalGit(): Promise; export declare function remove(repositoryPath: string, filesToDelete: string | string[]): string[]; export declare function add(repositoryPath: string, filesToCreate: { path: string; data?: string; } | { path: string; data?: string; }[]): string[]; export declare function modify(repositoryPath: string, filesToModify: { path: string; data: string; } | { path: string; data: string; }[]): string[]; export declare function rename(repositoryPath: string, filesToRename: { oldPath: string; newPath: string; } | { oldPath: string; newPath: string; }[]): string[]; export declare function contentIsEqual(repositoryPath: string, fileNameOrPath: string, content: string): boolean;