import { Request } from 'express';
import { BaseTenantService } from '@/common/base/service/base-crud.service';
import { Workflow } from '../entities/workflow.entity';
import { TenantConnectionService } from '@/modules/tenant/tenant-connection.service';
import { CreateWorkflowDto } from '../dto/create-workflow.dto';
import { WorkflowListQueryDto } from '../dto/workflow-list-query.dto';
export declare class WorkflowService extends BaseTenantService<Workflow> {
    protected tenantConnectionService: TenantConnectionService;
    protected entity: typeof Workflow;
    constructor(tenantConnectionService: TenantConnectionService);
    createWorkflow(dto: CreateWorkflowDto): Promise<Workflow>;
    findAllWorkflows(req: Request, query: WorkflowListQueryDto): Promise<import("../../../common/interfaces/pagination-result.interface").PaginationResult<Workflow>>;
    findOne(id: number): Promise<Workflow | null>;
}
