/** * LINKURIOUS CONFIDENTIAL * Copyright Linkurious SAS 2012 - 2022 * * - Created on 2022-08-04. */ import { Request } from '../../http/request'; import { IDataSourceParams, PaginatedResponse } from '../commonTypes'; import { GetMySpacesWithTreeResponse, IAdminSpace, ICreateSpaceParams, IDeleteSpaceParams, IGetSpacesParams, ISpace, IUpdateSpaceParams } from './types'; export * from './types'; export declare class SpacesAPI extends Request { /** * Create a new space. */ createSpace(this: Request, params: ICreateSpaceParams): Promise | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response>; /** * Update an existing space. */ updateSpace(this: Request, params: IUpdateSpaceParams): Promise | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response>; /** * Delete an existing space. */ deleteSpace(params: IDeleteSpaceParams): Promise | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response>; /** * List all spaces (including the ones that are not shared with the current user). Provide * support for pagination. */ getAllSpaces(this: Request>, params?: IGetSpacesParams): Promise | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response>>; /** * List the spaces shared with the current user. */ getSpacesSharedWithMe(this: Request, params?: IDataSourceParams): Promise | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response>; /** * List the spaces shared with the current user, with the corresponding visualization tree * attached to each space. */ getMySpacesWithTree(this: Request, params?: IDataSourceParams): Promise | import("../../http/response").Response | import("../../http/response").Response | import("../../http/response").Response>; }