import type { AvailableStepExecution } from '../types/execution-context'; import type { CollectionSchema } from '../types/validated/collection'; import type { StepOutcome } from '../types/validated/step-outcome'; import type { ToolConfig } from '@forestadmin/ai-proxy'; export interface MalformedRunInfo { runId: string; stepId: string | null; stepIndex: number | null; userMessage: string; technicalMessage: string; } export interface AvailableRunDispatch { step: AvailableStepExecution; auth: { forestServerToken: string; }; lockedAt: string | null; } export interface AvailableRunsBatch { pending: AvailableRunDispatch[]; malformed: MalformedRunInfo[]; } export interface WorkflowPort { getAvailableRuns(count: number): Promise; getAvailableRun(runId: string): Promise; updateStepExecution(runId: string, stepOutcome: StepOutcome): Promise; getCollectionSchema(collectionName: string, runId: string): Promise; getMcpServerConfigs(): Promise>; reportExecutorMetadata(params: { version: string; }): Promise; hasRunAccess(runId: string, user: { id: number; }): Promise; releaseRun(runId: string, lockedAt: string | null): Promise; } //# sourceMappingURL=workflow-port.d.ts.map