import { Relation } from 'typeorm'; import type { WorkflowTransitionType } from '@loopstack/contracts/types'; import { WorkflowState } from '../enums/index.js'; import { DocumentEntity } from './document.entity.js'; import { User } from './user.entity.js'; import { WorkspaceEntity } from './workspace.entity.js'; export declare class WorkflowEntity { id: string; workflowName: string; title: string; run: number; status: WorkflowState; hasError: boolean; errorMessage: string | null; retryCount: number; retryTransitionId: string | null; callbackTransition: string | null; callbackMetadata: Record | null; args: any; context: Record; createdAt: Date; updatedAt: Date; place: string; result: Record | null; availableTransitions: WorkflowTransitionType[] | null; labels: string[]; documents: Relation; workspace: Relation; workspaceId: string; creator: Relation; createdBy: string; parent: Relation | null; parentId: string | null; children: Relation; } //# sourceMappingURL=workflow.entity.d.ts.map