import { Repository } from 'typeorm';
import { Team } from './entities/team.entity';
import { Agency } from './entities/agency.entity';
import { User } from '../users/entities/user.entity';
export declare class TeamsController {
    private readonly teamRepo;
    private readonly agencyRepo;
    private readonly userRepo;
    constructor(teamRepo: Repository<Team>, agencyRepo: Repository<Agency>, userRepo: Repository<User>);
    findAll(): Promise<Team[]>;
    createTeam(body: {
        name: string;
        agency_id?: number;
        manager_id?: number;
        min_presence?: number;
    }): Promise<Team>;
    updateTeam(id: string, body: {
        name?: string;
        agency_id?: number | null;
        manager_id?: number | null;
        min_presence?: number;
    }): Promise<Team>;
    deleteTeam(id: string): Promise<{
        success: boolean;
        message: string;
    }>;
    findAllAgencies(): Promise<Agency[]>;
    createAgency(body: {
        name: string;
        country?: string;
        manager_id?: number;
    }): Promise<Agency>;
    updateAgency(id: string, body: {
        name?: string;
        country?: string;
        manager_id?: number | null;
    }): Promise<Agency>;
    deleteAgency(id: string): Promise<{
        success: boolean;
        message: string;
    }>;
}
