/**
 * Cloudflare Domain Sync Manager
 *
 * Synchronizes Cloudflare DNS zones with the local Domain table.
 * Automatically imports zones and marks obsolete domains when zones are removed.
 */
import { OneboxDatabase } from '../database/index.js';
export declare class CloudflareDomainSync {
    private database;
    private cloudflareAccount;
    constructor(database: OneboxDatabase);
    /**
     * Initialize Cloudflare connection
     */
    init(): Promise<void>;
    /**
     * Check if Cloudflare is configured
     */
    isConfigured(): boolean;
    /**
     * Sync all Cloudflare zones with Domain table
     */
    syncZones(): Promise<void>;
    /**
     * Mark domains as obsolete if their Cloudflare zones have been removed
     */
    private markObsoleteDomains;
    /**
     * Get sync status information
     */
    getSyncStatus(): Promise<{
        configured: boolean;
        totalDomains: number;
        cloudflareDomains: number;
        obsoleteDomains: number;
    }>;
}
