import * as _ali_edith_sdk from '@ali/edith-sdk'; import { O2AppSchema, O2ChangeSchema, O2AppIterationsResponse } from './types.js'; interface createO2AppOptions { group: string; project: string; type?: string; empId?: number; /** O2发布类型 */ pubType?: number; /** 是否是一体化类型,目前有 rax 一体化,faas 一体化 */ composite?: boolean; functionGroup?: string; } /** 申请仓库接入 O2 应用, https://icms.alibaba-inc.com/portal/def-work/docs/t2191438.html */ declare function createO2App(options: createO2AppOptions): Promise<{ appId: string | undefined; projectId: string | undefined; app?: O2AppSchema; name?: string; app_id?: string; project_id?: string; app_conf?: Record; }>; /** 删除 O2 应用,https://icms.alibaba-inc.com/portal/def-work/docs/t2191453.html */ declare function deleteO2App(params?: { appId?: string; appName?: string; }): Promise; /** 更新 O2 应用配置, https://icms.alibaba-inc.com/portal/def-work/docs/t2190712.html */ declare function updateO2App(options?: { project_id: string; }): Promise; /** 根据仓库获取 O2 应用基础信息,https://icms.alibaba-inc.com/portal/def-work/docs/t2190752.html */ declare function getO2App(options?: { repo?: string; print?: boolean; }): Promise; /** 获取应用变更列表,https://aliyuque.antfin.com/fee/fsow8x/iyfghr 列表里 api_app_devbranch */ declare function getO2AppChanges(options?: { print?: boolean; repo?: string; }): Promise; /** 获取应用迭代列表,https://icms.alibaba-inc.com/portal/def-work/docs/t2190756.html */ declare function getO2AppIterations(params?: { repo?: string; print?: boolean; /** 迭代状态:2 running 进行中、3 success 已完成、 4 error 失败、5 已废弃, 不传为获取全部 */ status?: 2 | 3 | 4 | 5; pn?: number; rn?: number; }): Promise<_ali_edith_sdk.EdithResponse>; /** 获取应用迭代版本号列表, https://aliyuque.antfin.com/fee/fsow8x/iyfghr api_app_version */ declare function getO2AppIterationVersions(params?: { repo?: string; print?: boolean; }): Promise<_ali_edith_sdk.EdithResponse>; export { createO2App, deleteO2App, getO2App, getO2AppChanges, getO2AppIterationVersions, getO2AppIterations, updateO2App };