/**
 * Auto-Archive Completed Use Case
 *
 * Scans for features in the Maintain (completed) lifecycle whose updatedAt
 * timestamp is older than the configured delay, and archives them automatically.
 *
 * Business Rules:
 * - Only features in Maintain lifecycle are candidates
 * - The delay is read from settings (workflow.autoArchiveDelayMinutes)
 * - A delay of 0 disables auto-archiving
 * - Uses the existing ArchiveFeatureUseCase for each archival to maintain
 *   consistent lifecycle transitions (previousLifecycle preservation, etc.)
 */
import type { Feature } from '../../../domain/generated/output.js';
import type { IFeatureRepository } from '../../ports/output/repositories/feature-repository.interface.js';
import { ArchiveFeatureUseCase } from './archive-feature.use-case.js';
export declare class AutoArchiveCompletedUseCase {
    private readonly featureRepo;
    private readonly archiveFeature;
    constructor(featureRepo: IFeatureRepository, archiveFeature: ArchiveFeatureUseCase);
    /**
     * Archive all features in Maintain state that have been completed longer
     * than the given delay.
     *
     * @param delayMinutes - Minutes after completion before archiving. 0 = disabled.
     * @returns Array of features that were archived.
     */
    execute(delayMinutes: number): Promise<Feature[]>;
}
//# sourceMappingURL=auto-archive-completed.use-case.d.ts.map