import { CreateTaskDto } from './dto/create-task.dto';
import { Task } from './entities/task.entity';
import { TaskParticipant } from './entities/task-participant.entity';
import { TaskStatus } from './enums/task-status.enum';
import { WorkflowStep } from './entities/workflow-step.entity';
import { BaseTenantService } from '@/common/base/service/base-crud.service';
import { TenantConnectionService } from '../tenant/tenant-connection.service';
import { TaskComment } from './entities/task-comment.entity';
import { TaskHistory } from './entities/task-history.entity';
export declare class TaskService extends BaseTenantService<Task> {
    protected tenantConnectionService: TenantConnectionService;
    protected entity: typeof Task;
    constructor(tenantConnectionService: TenantConnectionService);
    createTask(dto: CreateTaskDto, user: {
        id: number;
    }): Promise<Task>;
    findOneTask(taskId: number): Promise<{
        comments: TaskComment[];
        histories: TaskHistory[];
        id: number;
        code: string;
        title: string;
        description?: string;
        workflow_id: number;
        current_step_id: number;
        created_by: number;
        status: TaskStatus;
        priority?: string;
        due_date?: Date;
        completed_at?: Date;
        created_at: Date;
        updated_at: Date;
        workflow: import("./entities/workflow.entity").Workflow;
        currentStep: WorkflowStep;
        creator: import("../user/entities/user.entity").User;
        participants: TaskParticipant[];
        executions: import("./entities/task-step-execution.entity").TaskStepExecution[];
    }>;
}
