"""WordPress incident collection, sending logic, plugin management, and rules.

Available for both AV and IM360 modes.
"""

from defence360agent.wordpress.changelog_processor import (
    ChangelogProcessor,
)
from defence360agent.wordpress.incident_collector import (
    IncidentCollector,
    IncidentRateLimiter,
)
from defence360agent.wordpress.incident_sender import IncidentSender
from defence360agent.wordpress.incident_parser import IncidentFileParser
from defence360agent.wordpress.wp_rules import (
    WP_RULES_ZIP_FILENAME,
    WP_RULES_VERSION_FILENAME,
    find_file_in_index,
    extract_wp_rules_yaml,
    get_wp_rules_data,
    get_wp_ruleset_version,
)
from defence360agent.wordpress.constants import (
    PLUGIN_PATH,
    PLUGIN_SLUG,
    PLUGIN_VERSION_FILE,
    WP_CLI_WRAPPER_PATH,
)

__all__ = [
    "ChangelogProcessor",
    "IncidentCollector",
    "IncidentRateLimiter",
    "IncidentSender",
    "IncidentFileParser",
    # wp_rules exports
    "WP_RULES_ZIP_FILENAME",
    "WP_RULES_VERSION_FILENAME",
    "find_file_in_index",
    "extract_wp_rules_yaml",
    "get_wp_rules_data",
    "get_wp_ruleset_version",
    # constants exports
    "PLUGIN_PATH",
    "PLUGIN_SLUG",
    "PLUGIN_VERSION_FILE",
    "WP_CLI_WRAPPER_PATH",
]
