interface IConstructor { cwd?: string; name: string; pluginId: string; pluginSecret: string; } declare class BaseTemplate { protected cwd: string; protected name: string; protected targetDir: string; protected pluginId: string; protected pluginSecret: string; protected pkgManager: 'npm' | 'yarn'; constructor({ cwd, name, pluginId, pluginSecret }: IConstructor); init(_: any): Promise; installDependency(targetDir: string): Promise; success(): Promise; initConfig(): Promise; } export default BaseTemplate;