export declare function installPreCommitHook(targetDir?: string, severity?: string): Promise<{ success: boolean; message: string; }>;