• Gets import statistics from storage.

    Returns null | ImportStats

    The import stats or null if not found.

    const stats = getImportStats();
    
    export function getImportStats(): ImportStats | null {
    try {
    const stats = storage.getItem(STORAGE_KEYS.IMPORT_STATS);
    return stats ? JSON.parse(stats) : null;
    } catch (error) {
    console.error("Error retrieving import stats from storage", error);
    return null;
    }
    }