import { type AppDescribedWorkflowBinding, type AppWorkflowBinding, type AppWorkflowRunResult } from '@n8n/api-types'; import { Logger } from '@n8n/backend-common'; import { AppsConfig, AppWorkflowPort, type AppCallContext } from '@n8n/backend-module-apps'; import { GlobalConfig } from '@n8n/config'; import type { User } from '@n8n/db'; import { ActiveExecutions } from '../../../active-executions'; import { ExecutionPersistence } from '../../../executions/execution-persistence'; import { SubworkflowPolicyChecker } from '../../../executions/pre-execution-checks'; import { WorkflowRunner } from '../../../workflow-runner'; import { CallableWorkflowLoader } from '../../../workflows/callable/callable-workflow-loader.service'; import { WorkflowFinderService } from '../../../workflows/workflow-finder.service'; export declare class AppWorkflowAdapter extends AppWorkflowPort { private readonly workflowLoader; private readonly workflowFinder; private readonly subworkflowPolicyChecker; private readonly workflowRunner; private readonly activeExecutions; private readonly executionPersistence; private readonly appsConfig; private readonly globalConfig; private readonly logger; private inFlight; constructor(workflowLoader: CallableWorkflowLoader, workflowFinder: WorkflowFinderService, subworkflowPolicyChecker: SubworkflowPolicyChecker, workflowRunner: WorkflowRunner, activeExecutions: ActiveExecutions, executionPersistence: ExecutionPersistence, appsConfig: AppsConfig, globalConfig: GlobalConfig, logger: Logger); assertCanBind(user: User, projectId: string, binding: AppWorkflowBinding): Promise; describe(projectId: string, binding: AppWorkflowBinding): Promise; run(ctx: AppCallContext, workflowId: string, input: unknown): Promise; getRun(ctx: AppCallContext, workflowId: string, executionId: string): Promise; private execute; private toRunResult; private loadPublished; private loadForDescribe; private inputJsonSchema; private inferOutput; private claimRunSlot; private releaseWhenFinished; private waitForRun; }