import { Logger } from '@n8n/backend-common';
import { WorkflowsConfig } from '@n8n/config';
import { WorkflowPublicationOutboxRepository } from '@n8n/db';
import { InstanceSettings, Tracing } from 'n8n-core';
import { EventService } from '../../events/event.service';
export declare class WorkflowPublicationOutboxCleanupService {
    private readonly workflowsConfig;
    private readonly outboxRepository;
    private readonly instanceSettings;
    private readonly tracing;
    private readonly eventService;
    private cleanupInterval;
    private isShuttingDown;
    private readonly logger;
    constructor(logger: Logger, workflowsConfig: WorkflowsConfig, outboxRepository: WorkflowPublicationOutboxRepository, instanceSettings: InstanceSettings, tracing: Tracing, eventService: EventService);
    init(): void;
    startCleanup(): void;
    stopCleanup(): void;
    shutdown(): void;
    private cleanup;
}
