/**
 * Deletion Monitor Service (Phase 2: Deadline Tracking)
 *
 * Monitors deletion request deadlines and sends alerts for approaching/overdue requests.
 * Designed to run as a daily cron job.
 */
export interface DeadlineAlert {
    deletion_request_id: string;
    user_id: string;
    deletion_type: string;
    deadline: string;
    days_remaining: number;
    status: "approaching" | "overdue";
    message: string;
}
/**
 * Check deletion request deadlines and generate alerts
 *
 * @param alertThresholdDays - Days before deadline to start alerting (default 7)
 * @returns Array of alerts for approaching/overdue deadlines
 */
export declare function checkDeletionDeadlines(alertThresholdDays?: number): Promise<DeadlineAlert[]>;
/**
 * Process overdue deletion requests (escalate or auto-process)
 *
 * @param autoProcess - Automatically process simple overdue requests (default false)
 * @returns Processing results
 */
export declare function processOverdueRequests(autoProcess?: boolean): Promise<{
    processed: number;
    escalated: number;
    errors: string[];
}>;
/**
 * Check retention period expirations and trigger hard deletion
 *
 * @returns Processing results
 */
export declare function checkRetentionExpirations(): Promise<{
    processed: number;
    errors: string[];
}>;
/**
 * Generate deletion monitoring report
 *
 * @returns Monitoring report
 */
export declare function generateMonitoringReport(): Promise<{
    total_pending: number;
    total_in_progress: number;
    total_completed: number;
    approaching_deadline: number;
    overdue: number;
    retention_expirations_pending: number;
    alerts: DeadlineAlert[];
}>;
/**
 * Daily cron job handler
 *
 * Checks deadlines, processes overdue requests, and checks retention expirations.
 *
 * @param autoProcessOverdue - Automatically process overdue requests (default true for automated environments)
 * @returns Cron job results
 */
export declare function dailyCronJob(autoProcessOverdue?: boolean): Promise<{
    report: Awaited<ReturnType<typeof generateMonitoringReport>>;
    overdue_processing: Awaited<ReturnType<typeof processOverdueRequests>>;
    retention_processing: Awaited<ReturnType<typeof checkRetentionExpirations>>;
}>;
//# sourceMappingURL=deletion_monitor.d.ts.map