import { FetchRepositoryBase } from "../../../shared/index.js"; import type { ParamsSchema as GetSpacesParams } from "../../../tools/content/spaces/Get.js"; import type { ParamsSchema as ListSpacesParams } from "../../../tools/content/spaces/List.js"; import type { CreateSpaceRequest, ListSpaces } from "./SpacesTypes.js"; type ListSpace = Omit; type GetSpace = Omit; type CreateSpace = Partial; type UpdateSpace = { spaceId: number; } & Partial; type UpdateSpaceData = Partial; export declare class SpacesRepository extends FetchRepositoryBase { getSpaces(queryParams?: ListSpace): Promise; /** Every space of the account, reading every page. */ getAllSpaces(): Promise; getSpace(spaceId: GetSpace["spaceId"]): Promise; updateSpace(spaceId: UpdateSpace["spaceId"], space: Partial): Promise; /** * Queues the removal of a space. The platform answers 204 without a job * id; the space stops being returned once the background job finishes. */ deleteSpace(spaceId: number, validationName: string): Promise; createSpace(space: Partial): Promise; } export {}; //# sourceMappingURL=SpacesRepository.d.ts.map