import { SCENE_TYPE_LIST } from './const'; export interface Scaffold { [x: string]: unknown; group?: string; project: string; enableArms: boolean; armsPid?: string; arms_exception?: string; enableAplus: boolean; aplusLogkey?: string; type?: 'webapp' | 'assets' | 'tnpm'; external: { CNUI: string; CNUIM: string; CN_REQUEST: string; CONE_ARMS: string; }; } export interface ConeConfig { [x: string]: unknown; scaffold?: Scaffold; sceneType?: (typeof SCENE_TYPE_LIST)[keyof typeof SCENE_TYPE_LIST]; } export declare function getConeConfigFile(cwd: string): { fileType: string; filePath: string; }; /** 获取cone的配置 */ export declare function getConeConfig(): Promise; /** * 未install时获取config的方法 * @param filePath * @param fileType */ export declare const getConeConfigPre: () => {}; export declare function setConeConfig(config: ConeConfig): Promise;