import * as inquirer from 'inquirer'; declare type Framework = 'koa' | 'express'; declare type Type = 'ssr' | 'spa'; interface ITemplateArgs { framework?: Framework; type: Type; projectName: string; isTypescript: boolean; } export interface ICreateOptions { template?: string; spa?: boolean; plugin?: boolean; npm?: boolean; } export default class Create { projectName: string; options: ICreateOptions; name: string; targetDir: string; inCurrent: boolean; templatePath: string; template: { template: string; files: string[]; public: string[]; }; useYarn: boolean; constructor(projectName: string, options?: ICreateOptions); getInfo: (projectName: string) => void; getTemplatePath: (args: ITemplateArgs) => void; copyTemplate: (args: ITemplateArgs) => Promise; getTemplateFiles: (args: ITemplateArgs) => Promise; templateConfigAndFile: () => any; prompt: (questions: inquirer.QuestionCollection) => Promise; exit: (message: string) => void; getPromptArgs: () => Promise; create: () => Promise; ensureDir: () => Promise; shouldUseYarn: () => boolean; installModules: () => void; getInstallPackage: () => string[]; } export {}; //# sourceMappingURL=Create.d.ts.map