export interface Monitor {
    id: string
    url: string
    name: string
    frequency: number
    status: 'active' | 'paused' | 'error'
    elementSelector?: string
    ignoreRules?: { type: 'css' | 'regex' | 'text', value: string }[]
    keywordRules?: { keyword: string, type: 'appears' | 'disappears' | 'count', threshold?: number, caseSensitive?: boolean }[]
    seoKeywords?: string[]
    seoInterval?: 'daily' | '2d' | 'weekly' | 'monthly' | 'off'
    lastSeoCheckAt?: string
    last_checked_at?: string
    last_changed_at?: string
    consecutive_errors: number
    recentSnapshots?: {
        id: string
        responseTime: number
        importanceScore?: number
        changed: boolean
        createdAt: string
    }[]
}
