import { BaseTenantService } from '@/common/base/service/base-crud.service';
import { TaskParticipant } from '../entities/task-participant.entity';
import { TenantConnectionService } from '@/modules/tenant/tenant-connection.service';
import { AddTaskParticipantsDto } from '../dto/add-task-participants.dto';
export declare class TaskParticipantService extends BaseTenantService<TaskParticipant> {
    protected tenantConnectionService: TenantConnectionService;
    protected entity: typeof TaskParticipant;
    constructor(tenantConnectionService: TenantConnectionService);
    addParticipants(taskId: number, dto: AddTaskParticipantsDto, user: {
        id: number;
    }): Promise<TaskParticipant[]>;
    removeParticipant(taskId: number, userId: number, currentUser: {
        id: number;
    }): Promise<{
        success: boolean;
    }>;
    getParticipants(taskId: number): Promise<TaskParticipant[]>;
}
