import { TaskParticipant } from '../entities/task-participant.entity';
import { BaseTenantService } from '@/common/base/service/base-crud.service';
import { TenantConnectionService } from '@/modules/tenant/tenant-connection.service';
export declare class TaskPermissionService extends BaseTenantService<TaskParticipant> {
    protected tenantConnectionService: TenantConnectionService;
    protected entity: typeof TaskParticipant;
    constructor(tenantConnectionService: TenantConnectionService);
    private getRepo;
    ensureCanView(taskId: number, userId: number): Promise<void>;
    ensureCanProcess(taskId: number, userId: number): Promise<void>;
}
