import { LocalProject } from "@atomist/automation-client"; /** * Add Git hooks to the given repo * @param {string} projectBaseDir * @return {Promise} */ export declare function addGitHooks(projectBaseDir: string): Promise; export declare function addGitHooksToProject(p: LocalProject): Promise; export declare function removeGitHooks(baseDir: string): Promise; export declare function removeGitHooksFromProject(p: LocalProject): Promise; /** * Update the Atomist script element if found */ export declare function reatomizeScript(p: LocalProject, scriptPath: string, newContent: string): Promise; /** * Remove Atomist hook from this script * @param {LocalProject} p * @param {string} scriptPath * @return {Promise} */ export declare function deatomizeScript(p: LocalProject, scriptPath: string): Promise; /** * Make it clear this is Atomist content. Makes it easy to remove later. * @param {string} toAppend * @return {string} */ export declare function markAsAtomistContent(toAppend: string): string;