import { DataSource } from '@n8n/typeorm'; import type { IWorkflowBase } from 'n8n-workflow'; import { BaseRepository } from './base-repository'; import { WorkflowPublishedVersion } from '../entities'; import { type OperationContext, TransactionRunner } from '../services/transaction'; export type PublishedWorkflowDataForExecution = Pick; export declare class WorkflowPublishedVersionRepository extends BaseRepository { constructor(dataSource: DataSource, transactionRunner: TransactionRunner); setPublishedVersion(workflowId: string, publishedVersionId: string): Promise; removePublishedVersion(workflowId: string): Promise; findPublishedWorkflowIds(workflowIds: string[]): Promise>; getPublishedVersionId(workflowId: string, ctx?: OperationContext): Promise; getPublishedVersionWithRelations(workflowId: string): Promise; getPublishedVersionForExecution(workflowId: string): Promise; }