import { ActivateWorkflowPublicDto, CreatedWorkflowPublicDto, CreateWorkflowPublicDto, DeletedWorkflowPublicDto, GetWorkflowQueryDto, ListWorkflowHistoryQueryDto, ListWorkflowsQueryDto, PublishWorkflowPublicDto, TagIdsPublicDto, TransferWorkflowPublicDto, UpdatedWorkflowPublicDto, UpdateWorkflowPublicDto, UpdateWorkflowQueryDto, WorkflowListPublicDto, WorkflowPublicDto, WorkflowPublishPublicDto, WorkflowTagsPublicDto, WorkflowVersionHistoryListPublicDto, WorkflowVersionPublicDto } from '@n8n/api-types'; import { GlobalConfig } from '@n8n/config'; import type { AuthenticatedRequest } from '@n8n/db'; import type { Response } from 'express'; import { EventService } from '../../../events/event.service'; import { RedactionEnforcementService } from '../../../modules/redaction/redaction-enforcement.service'; import { TagService } from '../../../services/tag.service'; import { WorkflowCreationService } from '../../../workflows/workflow-creation.service'; import { WorkflowFinderService } from '../../../workflows/workflow-finder.service'; import { WorkflowHistoryService } from '../../../workflows/workflow-history/workflow-history.service'; import { WorkflowService } from '../../../workflows/workflow.service'; import { EnterpriseWorkflowService } from '../../../workflows/workflow.service.ee'; export declare class WorkflowsPublicController { private readonly workflowHistoryService; private readonly workflowFinderService; private readonly workflowCreationService; private readonly workflowService; private readonly enterpriseWorkflowService; private readonly eventService; private readonly globalConfig; private readonly tagService; private readonly redactionEnforcementService; constructor(workflowHistoryService: WorkflowHistoryService, workflowFinderService: WorkflowFinderService, workflowCreationService: WorkflowCreationService, workflowService: WorkflowService, enterpriseWorkflowService: EnterpriseWorkflowService, eventService: EventService, globalConfig: GlobalConfig, tagService: TagService, redactionEnforcementService: RedactionEnforcementService); private get workflowTagsEnabled(); private assertWorkflowTagsEnabled; getWorkflows(req: AuthenticatedRequest, _res: Response, query: ListWorkflowsQueryDto): Promise; createWorkflow(req: AuthenticatedRequest, _res: Response, body: CreateWorkflowPublicDto): Promise; getWorkflow(req: AuthenticatedRequest, _res: Response, workflowId: string, query: GetWorkflowQueryDto): Promise; updateWorkflow(req: AuthenticatedRequest, _res: Response, workflowId: string, body: UpdateWorkflowPublicDto, query: UpdateWorkflowQueryDto): Promise; deleteWorkflow(req: AuthenticatedRequest, _res: Response, workflowId: string): Promise; archiveWorkflow(req: AuthenticatedRequest, _res: Response, workflowId: string): Promise; unarchiveWorkflow(req: AuthenticatedRequest, _res: Response, workflowId: string): Promise; transferWorkflow(req: AuthenticatedRequest, _res: Response, workflowId: string, body: TransferWorkflowPublicDto): Promise; private toWorkflowFieldsPublicDto; private toWorkflowPublishPublicDto; private toUpdatedWorkflowPublicDto; private toDeletedWorkflowPublicDto; private toWorkflowPublicDto; publishWorkflow(req: AuthenticatedRequest, _res: Response, workflowId: string, body: PublishWorkflowPublicDto): Promise; unpublishWorkflow(req: AuthenticatedRequest, _res: Response, workflowId: string): Promise; activateWorkflow(req: AuthenticatedRequest, res: Response, workflowId: string, body: ActivateWorkflowPublicDto): Promise; deactivateWorkflow(req: AuthenticatedRequest, res: Response, workflowId: string): Promise; getWorkflowHistory(req: AuthenticatedRequest, _res: Response, workflowId: string, query: ListWorkflowHistoryQueryDto): Promise; getWorkflowVersion(req: AuthenticatedRequest, _res: Response, workflowId: string, workflowVersionId: string): Promise; getWorkflowTags(req: AuthenticatedRequest, _res: Response, workflowId: string): Promise; updateWorkflowTags(req: AuthenticatedRequest, _res: Response, workflowId: string, body: TagIdsPublicDto): Promise; }