import { type PlannedTaskGraph, type PlannedWorkflowVerification, type WorkflowBuildOutcome, type WorkflowLoopWorkItemRecord, type WorkflowVerificationObligation, type WorkflowVerificationObligationSource } from '@n8n/instance-ai'; import type { TypeORMAgentMemory } from './storage/typeorm-agent-memory'; export declare function parseWorkflowBuildOutcome(outcome: Record | undefined): WorkflowBuildOutcome | undefined; export declare class WorkflowVerificationObligationService { private readonly agentMemory; constructor(agentMemory: TypeORMAgentMemory); private storage; isPlannedRecord(record: WorkflowLoopWorkItemRecord): boolean; getObligation(threadId: string, workItemId: string, options: { source: WorkflowVerificationObligationSource; plannedTaskId?: string; }): Promise; obligationFromRecord(threadId: string, record: WorkflowLoopWorkItemRecord, options: { source: WorkflowVerificationObligationSource; plannedTaskId?: string; }): WorkflowVerificationObligation; findPendingPlannedWorkflowVerification(threadId: string, graph: PlannedTaskGraph): Promise; revalidatePlannedWorkflowVerification(threadId: string, verification: PlannedWorkflowVerification): Promise; private pendingPlannedWorkflowVerificationFromTask; }