import { type Identity } from '@byted-apaas/cli-core-sdk'; import { type Context } from '@byted-apaas/cliore'; interface BizName { apiName: string; componentName: string; } type CreateContext = Context<{ component_api_name?: string; }, { template?: string | boolean; componentType?: string | boolean; web?: boolean; mini?: boolean; all?: boolean; }, { workspaceRoot: string; namespace: string; identity: Identity; }>; interface ToolsOptions { componentName: string; componentsRoot: string; } interface Tools { destination: string; postCreate: () => Promise; preCreate: () => Promise; } type ComponentType = 'builder1' | 'builder2' | 'builder3' | 'builder2And3'; interface WebIdeConfig { oauthURL: string; devServerUrl: string; devServerSocketURL: string; } export type { BizName, CreateContext, ToolsOptions, Tools, ComponentType, WebIdeConfig };