import { DatabaseService } from './database'; import { FunctionService } from './function'; import { FunctionDeployer } from './deploy/FunctionDeployer'; import { CloudRunService } from './cloudrun'; import { AgentService } from './agent'; import { StorageService } from './storage'; import { EnvService } from './env'; import { CommonService } from './common'; import { LogService } from './log'; import { CloudBaseContext } from './context'; import { HostingService } from './hosting'; import { ThirdService } from './third'; import { AccessService } from './access'; import { UserService } from './user'; import { CloudBaseRunService } from './cloudBaseRun'; import { MysqlService } from './mysql'; import { CloudAppService } from './cloudApp'; import { EnvInfo } from './interfaces'; import { PermissionService } from './permission'; import { SandboxService } from './sandbox'; import { AiModelService } from './aiModel'; import { MonitorService } from './monitor'; import { IntegrationService } from './integration'; import { PlatformService } from './platform'; export declare class Environment { inited: boolean; cloudBaseContext: CloudBaseContext; lazyEnvironmentConfig: EnvInfo; private envId; private envType?; private functionService; private functionDeployer; private cloudRunService; private agentService; private databaseService; private storageService; private envService; private logService; private hostingService; private thirdService; private accessService; private userService; private cloudBaseRunService; private mysqlService; private permissionService; private cloudAppService; private sandboxService; private aiModelService; private monitorService; private integrationService; private platformService; constructor(context: CloudBaseContext, envId: string); lazyInit(): Promise; getEnvId(): string; getEnvType(): string; getStorageService(): StorageService; getDatabaseService(): DatabaseService; getFunctionService(): FunctionService; /** * 获取函数部署编排器 * 采用懒初始化,避免模块循环引用导致的初始化顺序问题 */ getFunctionDeployer(): FunctionDeployer; getCloudRunService(): CloudRunService; getAgentService(): AgentService; getEnvService(): EnvService; getLogService(): LogService; getHostingService(): HostingService; getThirdService(): ThirdService; getAccessService(): AccessService; getUserService(): UserService; getCloudBaseRunService(): CloudBaseRunService; getMysqlService(): MysqlService; getCloudAppService(): CloudAppService; getPermissionService(): PermissionService; getSandboxService(): SandboxService; getAiModelService(): AiModelService; getMonitorService(): MonitorService; getIntegrationService(): IntegrationService; /** * 获取平台版套餐服务 */ getPlatformService(): PlatformService; getCommonService(serviceType: string, serviceVersion: any): CommonService; getServicesEnvInfo(): Promise; getAuthConfig(): { envId: string; secretId: string; secretKey: string; token: string; proxy: string; region: string; }; }