import type { Logger } from '@n8n/backend-common'; import type { User } from '@n8n/db'; import { type IRun } from 'n8n-workflow'; import type { ActiveExecutions } from '../../../active-executions'; import type { McpService } from '../../../modules/mcp/mcp.service'; export declare const WORKFLOW_EXECUTION_TIMEOUT_MS: number; export declare const WORKFLOW_EXECUTION_TIMEOUT_DEFAULT_SECONDS: number; export declare const WORKFLOW_EXECUTION_TIMEOUT_MAX_SECONDS: number; export declare const waitForExecutionResult: (executionId: string, activeExecutions: ActiveExecutions, mcpService: McpService, timeoutMs?: number) => Promise; export declare const REDACTION_CHECK_FAILED_MESSAGE = "Error details hidden because the execution data redaction check failed"; export declare function getRunErrorForViewer(executionId: string, user: User, logger: Logger): Promise;