/**
 * INTENT Scheduler
 *
 * Manages scheduled jobs for intent processing:
 * - Cleanup job for GDPR compliance (event retention, soft-delete purging)
 * - Escalation timeout checks
 *
 * Uses leader election to ensure only one instance runs scheduled tasks
 * across multiple server instances.
 */
import { type CleanupResult } from './cleanup.js';
/**
 * Start all scheduled jobs
 *
 * Uses leader election to ensure only one instance runs scheduled tasks.
 * If this instance becomes the leader, it starts the cron jobs.
 * If another instance is the leader, this instance periodically checks
 * and will take over if the leader fails.
 */
export declare function startScheduler(): Promise<void>;
/**
 * Stop all scheduled jobs and resign leadership
 */
export declare function stopScheduler(): Promise<void>;
/**
 * Get status of all scheduled jobs
 */
export declare function getSchedulerStatus(): {
    isLeader: boolean;
    instanceId: string | null;
    tasks: Array<{
        name: string;
        cronExpression: string;
        running: boolean;
    }>;
};
/**
 * Run cleanup job immediately (for testing or manual trigger)
 */
export declare function runCleanupNow(): Promise<CleanupResult>;
/**
 * Process escalation timeouts immediately (for testing or manual trigger)
 */
export declare function processTimeoutsNow(): Promise<number>;
//# sourceMappingURL=scheduler.d.ts.map