import { Logger } from '@n8n/backend-common'; import { ExecutionsConfig } from '@n8n/config'; import { ExecutionRepository } from '@n8n/db'; import { ExecutionCrashService } from '../executions/execution-crash.service'; export type ResumableStatus = 'waiting' | 'new'; export type ResumeClaim = { granted: true; attempt: number; } | { granted: false; }; export declare class ResumeAttemptService { private readonly logger; private readonly executionsConfig; private readonly executionRepository; private readonly executionCrashService; constructor(logger: Logger, executionsConfig: ExecutionsConfig, executionRepository: ExecutionRepository, executionCrashService: ExecutionCrashService); claim(executionId: string, status: ResumableStatus): Promise; release(executionId: string, status: ResumableStatus, attempt: number): Promise; }