/**
 * workspace 主页（workspace 带 base，翻页列表）
 * @param params
 * @author 左胜杰
 * @member 陈磊
 */
export declare const getWorkspaces: (params: {
    page: number;
    size: number;
    order_by: string;
    tenant_id: number;
}) => Promise<any>;
/**
 * workspace 删除
 * @param id
 * @author 左胜杰
 * @member 陈磊
 */
export declare const deleteWorkspace: (id: number) => Promise<any>;
/**
 * workspace 添加
 * @param params
 * @author 左胜杰
 * @member 陈磊
 */
export declare const addWorkspace: (params: {
    tenant_id: number;
    name?: string;
    icon?: string;
    description?: string;
}) => Promise<any>;
/**
 * workspace 修改
 * @param params
 * @author 左胜杰
 * @member 陈磊
 */
export declare const updateWorkspace: (params: {
    id: number;
    name?: string;
    icon?: string;
    description?: string;
}) => Promise<any>;
/**
 * workspace 详情
 * @param params
 * @author 左胜杰
 * @member 陈磊
 */
export declare const getWorkspaceDetail: (id: number) => Promise<any>;
/**
 * workspace 选择列表 （不带翻页）
 * @param params
 * @author 左胜杰
 * @member 陈磊
 */
export declare const getWorkspaceList: (params: {
    tenant_id: string;
}) => Promise<any>;
/**
 * workspace 和 base 搜索
 * @param params
 * @author 左胜杰
 * @member 陈磊
 */
export declare const searchWorkspace: (params: {
    tenant_id: string;
    search?: string;
}) => Promise<any>;
/**
 * 新增base
 * @param params
 * @author 左胜杰
 * @member 马天宇
 */
export declare const addBase: (params: {
    tenant_id: number;
    workspace_id: number;
    name: string;
    icon: string;
    color: string;
    description?: string;
    order_by?: string;
}) => Promise<any>;
/**
 * 获取base 详情
 * @param id
 * @author 左胜杰
 * @member 马天宇
 */
export declare const getBaseDetail: (id: number) => Promise<any>;
/**
 * 修改base
 * @param params
 * @author 左胜杰
 * @member 马天宇
 */
export declare const updateBaseDetail: (params: {
    id: number;
    name?: string;
    icon?: string;
    color?: string;
    description?: string;
}) => Promise<any>;
/**
 * 删除base
 * @param id
 * @author 左胜杰
 * @member 马天宇
 */
export declare const deleteBaseDetail: (id: number) => Promise<any>;
/**
 * 获取base 列表
 * @param params
 * @author 左胜杰
 * @member 马天宇
 */
export declare const getBaseList: (params: {
    workspace_id: number;
    name?: string;
    page?: number;
    size?: number;
    order_by?: string;
}) => Promise<any>;
declare const _default: {
    getWorkspaces: (params: {
        page: number;
        size: number;
        order_by: string;
        tenant_id: number;
    }) => Promise<any>;
    deleteWorkspace: (id: number) => Promise<any>;
    addWorkspace: (params: {
        tenant_id: number;
        name?: string | undefined;
        icon?: string | undefined;
        description?: string | undefined;
    }) => Promise<any>;
    updateWorkspace: (params: {
        id: number;
        name?: string | undefined;
        icon?: string | undefined;
        description?: string | undefined;
    }) => Promise<any>;
    getWorkspaceDetail: (id: number) => Promise<any>;
    getWorkspaceList: (params: {
        tenant_id: string;
    }) => Promise<any>;
    searchWorkspace: (params: {
        tenant_id: string;
        search?: string | undefined;
    }) => Promise<any>;
    addBase: (params: {
        tenant_id: number;
        workspace_id: number;
        name: string;
        icon: string;
        color: string;
        description?: string | undefined;
        order_by?: string | undefined;
    }) => Promise<any>;
    getBaseDetail: (id: number) => Promise<any>;
    updateBaseDetail: (params: {
        id: number;
        name?: string | undefined;
        icon?: string | undefined;
        color?: string | undefined;
        description?: string | undefined;
    }) => Promise<any>;
    deleteBaseDetail: (id: number) => Promise<any>;
    getBaseList: (params: {
        workspace_id: number;
        name?: string | undefined;
        page?: number | undefined;
        size?: number | undefined;
        order_by?: string | undefined;
    }) => Promise<any>;
};
export default _default;
