import { Ch5BaseClassForCli } from "../Ch5BaseClassForCli"; import { ICh5Cli } from "../ICh5Cli"; export declare class Ch5ImportAssetsCli extends Ch5BaseClassForCli implements ICh5Cli { showOutputMessages: boolean; private outputResponse; private folderPaths; constructor(showOutputMessages?: boolean); /** * Initialize all variables and set module level constants */ initialize(): void; /** * Utils function so that we can mock zl library in our test cases */ get getZl(): any; /** * Method for importing components */ run(): Promise; /** * Verify input parameters */ verifyInputParams(): Promise; /** * * @param {*} fileName */ isFileToBeAvoided(fileName: string): boolean; /** * * @param {*} input */ replaceDistFolderPathNameInInput(input: string): string[]; /** * * @param {*} sourcePath */ getAllFiles(sourcePath: string): any; /** * Check if there are questions to be prompted to the developer */ checkPromptQuestions(): Promise; /** * Implement this component's main purpose * Unzip the export-components.zip file, copy files as per user input in command-terminal from source (extracted export-components.zip file) to destination (./ project folder). */ processRequest(): Promise; /** * Log Final Response Message */ logOutput(): void; /** * Clean up method */ cleanUp(): Promise; /** * * @param {*} arrayOfFiles * @param {*} newFile */ checkIfNewFileInput(arrayOfFiles: string[], newFile: string): boolean; /** * Check if the file is a zip file and exists, and follows proper folder structure * Suggestion - Export and import should have version number * Note that we are not checking for export-components.zip file as filename because the * user can rename his file if required. * @param {*} fileName */ isZipFileValid(fileName: string): boolean; }