/** * Executes the given command synchronously. * @async * @param command The command to execute. * @param path If given, defines the working directory of the created child process. * Resolves the promise with the console buffer parsed as string. */ export declare function execSync(command: string, path?: string): Promise; /** * Utility method to update a JSON file. * @async * @param filePath The relative path to the file to update, from the target project path. * @param modifier The method to call that will modify the file content when opened. */ export declare function updateJsonFile(filePath: string, modifier: (content: any) => Promise | void): Promise; /** * Utility method to update a text file. * @async * @param filePath The relative path to the file to update, from the target project path. * @param modifier The method to call that will modify the file content when opened. */ export declare function updateFile(filePath: string, modifier: (content: string) => Promise | string): Promise; /** * Checks if the string is null, not a string, or an empty one. * @param str The string you want to validate. */ export declare function isNullOrEmpty(str: unknown): boolean;