import { Relation } from '@n8n/typeorm'; import { ExecutionStatus, WorkflowExecuteMode } from 'n8n-workflow'; import type { ExecutionAnnotation } from './execution-annotation.ee'; import type { ExecutionData } from './execution-data'; import type { ExecutionMetadata } from './execution-metadata'; import { WorkflowEntity } from './workflow-entity'; export type ExecutionDataStorageLocation = 'db' | 'fs' | 's3' | 'az'; export declare class ExecutionEntity { id: string; finished: boolean; mode: WorkflowExecuteMode; retryOf: string; retrySuccessId: string; status: ExecutionStatus; createdAt: Date; startedAt: Date | null; stoppedAt: Date | null; deletedAt: Date | null; workflowId: string; waitTill: Date | null; storedAt: ExecutionDataStorageLocation; tracingContext: { traceparent: string; tracestate?: string; identity?: Record; } | null; deduplicationKey: string | null; jsonSizeBytes: number; binaryDataSizeBytes: number; workflowVersionId: string | null; usedPrivateCredentials: boolean; metadata: ExecutionMetadata[]; executionData: Relation; annotation?: Relation; workflow: WorkflowEntity; }