import prompts from '../../compiled/prompts'; import type yParser from '../../compiled/yargs-parser'; export interface IGeneratorOpts { baseDir: string; args: yParser.Arguments; slient?: boolean; } interface IGeneratorBaseOpts { context: Record; target: string; } interface IGeneratorCopyTplOpts extends IGeneratorBaseOpts { templatePath: string; } interface IGeneratorCopyDirectoryOpts extends IGeneratorBaseOpts { path: string; } declare class Generator { baseDir: string; args: yParser.Arguments; slient: boolean; prompts: any; constructor({ baseDir, args, slient }: IGeneratorOpts); run(): Promise; prompting(): prompts.PromptObject[]; writing(): Promise; copyTpl(opts: IGeneratorCopyTplOpts): void; copyDirectory(opts: IGeneratorCopyDirectoryOpts): void; } export default Generator;