import { Repository } from 'typeorm';
import { CreateTenantDto } from './dto/create-tenant.dto';
import { UpdateTenantDto } from './dto/update-tenant.dto';
import { Tenant } from './entities/tenant.entity';
import { UsersService } from '../users/users.service';
export declare class TenantsService {
    private readonly tenantsRepository;
    private readonly usersService;
    constructor(tenantsRepository: Repository<Tenant>, usersService: UsersService);
    findAll(): Promise<Tenant[]>;
    findOne(id: string): Promise<Tenant>;
    create(dto: CreateTenantDto): Promise<{
        tenant: Tenant;
        owner: {
            id: string;
            username: string;
            email: string;
            role: string;
            rank: string;
        };
    }>;
    update(id: string, dto: UpdateTenantDto): Promise<Tenant>;
    remove(id: string): Promise<{
        success: boolean;
    }>;
}
