import { BinaryDataService, InstanceSettings } from 'n8n-core';
import { ExecutionRepository } from '../databases/repositories/execution.repository';
import { Logger } from '../Logger';
import { OrchestrationService } from './orchestration.service';
export declare class PruningService {
    private readonly logger;
    private readonly instanceSettings;
    private readonly executionRepository;
    private readonly binaryDataService;
    private readonly orchestrationService;
    private hardDeletionBatchSize;
    private rates;
    softDeletionInterval: NodeJS.Timer | undefined;
    hardDeletionTimeout: NodeJS.Timeout | undefined;
    private isShuttingDown;
    constructor(logger: Logger, instanceSettings: InstanceSettings, executionRepository: ExecutionRepository, binaryDataService: BinaryDataService, orchestrationService: OrchestrationService);
    init(): void;
    private isPruningEnabled;
    startPruning(): void;
    stopPruning(): void;
    private setSoftDeletionInterval;
    private scheduleHardDeletion;
    softDeleteOnPruningCycle(): Promise<void>;
    shutdown(): void;
    private hardDeleteOnPruningCycle;
}
