/** * Ensures that the directory exists. * If the directory structure does not exist, it is created. Like mkdir -p. * Requires the `--allow-read` and `--allow-write` flag. */ export declare function ensureDir(dir: string): Promise; /** * Ensures that the directory exists. * If the directory structure does not exist, it is created. Like mkdir -p. * Requires the `--allow-read` and `--allow-write` flag. */ export declare function ensureDirSync(dir: string): void;