import { EventPublisher } from "../../../features/eventPublisher/index.js"; import { Result } from "@webiny/feature/api"; import { UpdateTenantUseCase as UseCaseAbstraction } from "./abstractions.js"; import { UpdateTenantRepository } from "./abstractions.js"; import type { Tenant } from "../../../types/tenancy.js"; import { GetTenantByIdUseCase } from "../../../features/tenancy/GetTenantById/index.js"; declare class UpdateTenantUseCaseImpl implements UseCaseAbstraction.Interface { private getTenantById; private eventPublisher; private repository; constructor(getTenantById: GetTenantByIdUseCase.Interface, eventPublisher: EventPublisher.Interface, repository: UpdateTenantRepository.Interface); execute(id: string, data: Partial): Promise<({ _error: import("../GetTenantById/abstractions.js").GetTenantByIdError; } & Result) | Result>; } export declare const UpdateTenantUseCase: import("@webiny/di").Implementation; export {};