export interface GlobalConfig {
    target: string;
    source: string;
}
export interface Answer {
    pkg: string;
    git: boolean;
    typescript: boolean;
    eslint: boolean;
    clear: boolean;
}
export declare function initProject(type: any): Promise<void>;
/**
 * 清空一个目录
 * @param target
 */
export declare function clearDir(target: any): Promise<void>;
/**
 * 初始化流程的进程
 * @param sourceDir
 * @param targetDir
 * @param type
 */
export declare function initProjectProcess(sourceDir: any, targetDir: any, type: any, isTs: any): Promise<void>;
/**
 * 从模板目录拷贝项目模板
 * @param sourceDir
 * @param targetDir
 */
export declare function initProjectFiles(sourceDir: any, targetDir: any): Promise<void>;
