import { ProjectType, DSL } from 'retail-script-utils/lib/intreface'; export interface InitDepsParams { dsl: DSL; type: ProjectType; skipLint?: boolean; } declare const _default: { getPkgJson: () => JSON; gitInfo: () => { group?: string; project?: string; scope?: string; }; isDirEmpty(distPath: string): Promise; docExist(cwd: string): boolean; /** * 按照指定key合并对象数组 * @param sourceArray */ uniqArrayByKey(sourceArray: any[], key: string): any[]; addDeployPageSetting(pageName: string, className?: string | undefined): Promise; addIndexJson(pageName: string): Promise; useRax3ModConfig(): boolean; notCheckPort(dsl: DSL, type: ProjectType): boolean; initLintAndInstalDeps({ dsl, skipLint, type }: InitDepsParams): Promise; }; export default _default;