export interface UserInfo {
    userId: string;
    userName: string;
    departmentName: string;
    email: string;
    phone: string;
}
export interface AppOption {
    id: string;
    label: string;
}
export interface ProjectVersionResult {
    projectVersionId: string;
    projectId: string;
    minorVersionId: string;
    appId: string;
}
export interface ProjectTreeNode {
    code: string;
    key: string;
    title: string;
    type: string;
    path?: string;
    versionStatus?: {
        lockId?: string | null;
    };
    children?: ProjectTreeNode[];
}
export interface ProjectTreeData {
    title: string;
    desc?: string;
    projectType?: string;
    projectId?: string;
    serviceCenterId?: string;
    projectTree: ProjectTreeNode[];
}
export interface SharedLibInfo {
    pid: string;
    msAlias: string;
    version?: string;
}
export interface ThirdLibInfo {
    libName: string;
    libVersion?: string;
}
/**
 * 获取当前操作人信息
 */
export declare function getUserInfo(authorization: string): Promise<UserInfo>;
/**
 * 获取应用选择列表
 */
export declare function getAppOptions(authorization: string): Promise<AppOption[]>;
export declare function getProjectTree(projectVersionId: string, authorization: string): Promise<ProjectTreeData>;
export declare function getTextFile(projectVersionId: string, fileId: string, authorization: string, lockId?: string): Promise<string>;
export declare function getProjectSharedLibs(projectVersionId: string, authorization: string): Promise<SharedLibInfo[]>;
export declare function getProjectThirdLibs(projectVersionId: string, authorization: string): Promise<ThirdLibInfo[]>;
/**
 * 创建 projectVersionId（完整流程）
 * 1. 获取用户信息
 * 2. 检查项目是否存在（存在则终止）
 * 3. 创建项目
 * 4. 创建 Minor 版本
 * 5. 创建 Revision 版本
 */
export declare function createProjectVersionId(msId: string, authorization: string, appId?: string, description?: string, minorVersionDescription?: string, revisionVersionDescription?: string): Promise<ProjectVersionResult>;
//# sourceMappingURL=projectApi.d.ts.map