/** * Task: * * Empties the given directory but to avoid the case where you accidentally * delete the user directory or a root directory or everything in the current * directory, we prevent certain types of directories from being emptied. * * Specifically, you cannot delete: * * - any directory starting with "~" * - any directory starting with "/" * - The "" directory * - The "./" directory */ export declare function emptyDir(dir: string): void;