/**
 * Batch archive completed tasks.
 * @task T4461
 * @epic T4454
 */
import type { DataAccessor } from '../store/data-accessor.js';
/** Options for archiving tasks. */
export interface ArchiveTasksOptions {
    /** Only archive tasks completed before this date (ISO string). */
    before?: string;
    /** Specific task IDs to archive. */
    taskIds?: string[];
    /** Archive cancelled tasks too. Default: true. */
    includeCancelled?: boolean;
    /** Dry run mode. */
    dryRun?: boolean;
}
/** Result of archiving tasks. */
export interface ArchiveTasksResult {
    archived: string[];
    skipped: string[];
    total: number;
    dryRun?: boolean;
}
/**
 * Archive completed (and optionally cancelled) tasks.
 * Moves them from active task data to archive.
 * @task T4461
 */
export declare function archiveTasks(options?: ArchiveTasksOptions, cwd?: string, accessor?: DataAccessor): Promise<ArchiveTasksResult>;
//# sourceMappingURL=archive.d.ts.map