import type { StoredMessage } from '@langchain/core/messages'; import { WithTimestamps } from '@n8n/db'; import type { Relation } from '@n8n/typeorm'; export interface IWorkflowBuilderSession { id: string; workflowId: string; userId: string; messages: StoredMessage[]; previousSummary: string | null; activeVersionCardId: string | null; resumeAfterRestoreMessageId: string | null; createdAt: Date; updatedAt: Date; } export declare class WorkflowBuilderSession extends WithTimestamps implements IWorkflowBuilderSession { id: string; generateId(): void; workflowId: string; workflow?: Relation; userId: string; user?: Relation; messages: StoredMessage[]; previousSummary: string | null; activeVersionCardId: string | null; resumeAfterRestoreMessageId: string | null; }