import type { AxiosRequestConfig, AxiosResponse } from 'axios';
import type { CreateSpaceParams, DeleteSpaceParams, KnowledgebaseInputSpace, KnowledgebaseSpace, KnowledgebaseSpaceList, ListSpacesParams, LocateSpaceParams, UpdateSpaceBody, UpdateSpaceParams } from '../_models';
export declare const // --- title start
getSpaces: (axiosInstance?: AxiosInstance) => {
    listSpaces: (params?: ListSpacesParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<KnowledgebaseSpaceList>>;
    createSpace: (knowledgebaseInputSpace: KnowledgebaseInputSpace[], params?: CreateSpaceParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<KnowledgebaseSpace>>;
    deleteSpace: (etag: string, params?: DeleteSpaceParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<KnowledgebaseSpace>>;
    locateSpace: (etag: string, params?: LocateSpaceParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<KnowledgebaseSpace>>;
    updateSpace: (etag: string, updateSpaceBody: UpdateSpaceBody, params?: UpdateSpaceParams, options?: AxiosRequestConfig) => Promise<AxiosResponse<KnowledgebaseSpace>>;
};
export type ListSpacesResult = AxiosResponse<KnowledgebaseSpaceList>;
export type CreateSpaceResult = AxiosResponse<KnowledgebaseSpace>;
export type DeleteSpaceResult = AxiosResponse<KnowledgebaseSpace>;
export type LocateSpaceResult = AxiosResponse<KnowledgebaseSpace>;
export type UpdateSpaceResult = AxiosResponse<KnowledgebaseSpace>;
