import { TaskPermissionService } from './task-permission.service';
import { WorkflowStep } from '../entities/workflow-step.entity';
import { BaseTenantService } from '@/common/base/service/base-crud.service';
import { TenantConnectionService } from '@/modules/tenant/tenant-connection.service';
import { ReturnTaskDto } from '../dto/return-task.dto';
export declare class TaskTransitionService extends BaseTenantService<WorkflowStep> {
    protected tenantConnectionService: TenantConnectionService;
    private readonly permissionService;
    protected entity: typeof WorkflowStep;
    constructor(tenantConnectionService: TenantConnectionService, permissionService: TaskPermissionService);
    moveNext(taskId: number, user: {
        id: number;
    }): Promise<{
        success: boolean;
        message: string;
    }>;
    returnTask(taskId: number, dto: ReturnTaskDto, user: {
        id: number;
    }): Promise<{
        success: boolean;
    }>;
}
