/// import { PathLike } from 'fs-extra'; import { Plugin, PluginServiceApi } from '@cloudbase/framework-core'; import { BuildType, GenerateMpType, DEPLOY_MODE, RUNTIME } from '@cloudbase/lowcode-builder'; import COS from 'cos-nodejs-sdk-v5'; export declare const DIST_PATH = "./dist"; declare const DEFAULT_INPUTS: { _inputFile: string; debug: boolean; runtime: RUNTIME; appId: string; buildTypeList: BuildType[]; generateMpType: GenerateMpType; generateMpPath: string; subAppSerializeDataList: never[]; dependencies: never[]; plugins: never[]; operationService: {}; extraData: { isComposite: boolean; compProps: {}; }; mpAppId: string; mpDeployPrivateKey: string; deployOptions: { mode: string; }; calsVersion: string; ignoreInstall: boolean; }; export interface IFrameworkPluginLowCodeInputs { _inputFile?: string; debug?: boolean; runtime?: RUNTIME; appId: string; mainAppSerializeData: any; subAppSerializeDataList?: any[]; dependencies?: any[]; buildTypeList?: BuildType[]; generateMpType?: GenerateMpType; mpAppId?: string; generateMpPath?: string; plugins?: any[]; mpDeployPrivateKey?: string; deployOptions: { mode: DEPLOY_MODE; version?: string; description?: string; mpAppId?: string; mpDeployPrivateKey?: string; targetMpAppId?: string; publicPath?: string; }; runtimeOptions?: { mode: DEPLOY_MODE; }; credential?: { secretId: string; secretKey: string; token?: string; }; storage?: { bucket: string; region: string; }; extraData?: { operationService?: Object; isComposite: boolean; compProps: any; }; calsVersion?: string; ignoreInstall?: boolean; runtimeEndpointType?: 'tcb-api' | 'wechat-service'; } export type ResolvedInputs = IFrameworkPluginLowCodeInputs & typeof DEFAULT_INPUTS; declare class LowCodePlugin extends Plugin { name: string; api: PluginServiceApi; inputs: IFrameworkPluginLowCodeInputs; protected _resolvedInputs: ResolvedInputs; protected _originInputsStr: string; protected _appPath: string; protected _authPlugin: any; protected _miniprogramePlugin: any; protected _deployer: any; protected _functionPlugin: any; protected _artifactOptions?: { bucket: string; baseKey: string; region?: string | undefined; credential?: any; endpoint?: string | undefined; }; protected _timeMap: {}; protected _logFilePath?: PathLike; protected _domain: any[]; protected _website: any; protected _skipInstallExt: any; protected _gatewayConfig?: { Domain: string; Path: string; }; protected _codeUrlWithAuth: string | undefined; protected _enablePrivatelink: boolean; protected _privatelinkGatewayMeta?: { domain: string; gatewayId: string; gatewayEnvId: string; }; constructor(name: string, api: PluginServiceApi, inputs: IFrameworkPluginLowCodeInputs); _initDir(): void; _subPluginConstructor(resolveInputs: ResolvedInputs): Promise; _getWebRootPath({ appId, name, deployOptions }: { appId: any; name?: string | undefined; deployOptions: any; }): string; _time(label: any): void; _timeEnd(label: any): number | undefined; init(): Promise; run(): Promise; remove(): Promise; genCode(): Promise; build(): Promise; compile(): Promise; deploy(): Promise; _getHostingInfoTask(envId: any, loose?: boolean): Promise; _getHostingInfo(envId: any, loose?: boolean): any; _enableExpireTime(envId: any): Promise; _getPrivateConfig(envId: any, appId: any): Promise; _checkIsVersion(version: any): boolean; _postPersistentDependiences(): Promise; _debugInfo(): Promise; _zipDir(src: any, dist: any): Promise; _initCos(): COS; } export declare const plugin: typeof LowCodePlugin; export {}; //# sourceMappingURL=index.d.ts.map