import { Result } from "@webiny/feature/api"; import { EventPublisher } from "../../../features/eventPublisher/index.js"; import { CreateTenantUseCase as UseCaseAbstraction } from "./abstractions.js"; import { CreateTenantRepository } from "./abstractions.js"; import type { Tenant, CreateTenantInput } from "../../../types/tenancy.js"; import { CreateTenantError } from "../../../features/tenancy/CreateTenant/errors.js"; declare class CreateTenantUseCaseImpl implements UseCaseAbstraction.Interface { private eventPublisher; private repository; constructor(eventPublisher: EventPublisher.Interface, repository: CreateTenantRepository.Interface); execute(data: CreateTenantInput): Promise | Result>; } export declare const CreateTenantUseCase: import("@webiny/di").Implementation; export {};