import type { Tenant, CreateTenantInput, UpdateTenantInput } from '../entities/tenant.js'; /** * Repository interface for Tenant entity operations. * Implement this interface in infrastructure layer. */ export interface ITenantRepository { /** * Find a tenant by ID */ getById(id: string): Promise; /** * Find a tenant by slug */ getBySlug(slug: string): Promise; /** * Get all tenants (admin only) */ getAll(): Promise; /** * Create a new tenant */ create(input: CreateTenantInput & { id: string; }): Promise; /** * Update an existing tenant */ update(id: string, input: UpdateTenantInput): Promise; /** * Delete a tenant */ delete(id: string): Promise; /** * Check if slug is available */ slugExists(slug: string): Promise; } //# sourceMappingURL=ITenantRepository.d.ts.map