import type { WorkflowSuggestionBaseline, WorkflowSuggestionSnapshot } from '@n8n/api-types'; import { type CredentialResolutionResult, type InstanceAiContext, type ValidationWarning } from '@n8n/instance-ai'; import type { WorkflowJSON } from '@n8n/workflow-sdk'; type CandidateWorkflowInput = { baseline: WorkflowSuggestionBaseline; context: InstanceAiContext; filePath: string; abortSignal?: AbortSignal; }; export type CandidateWorkflowResult = { success: true; workflow: WorkflowSuggestionSnapshot; warnings: ValidationWarning[]; credentialResolution: CredentialResolutionResult; declaredOutputFixtures?: WorkflowJSON['pinData']; } | { success: false; reason: string; errors: string[]; }; export declare function compileCandidateWorkflow({ baseline, context, filePath, abortSignal, }: CandidateWorkflowInput): Promise; export {};