"""
Utils Package
=============

Shared utilities for NordaBiz application.
"""

from .decorators import admin_required, verified_required, company_owner_or_admin
from .helpers import sanitize_input, validate_email, validate_password, ensure_url
from .notifications import (
    create_notification,
    create_news_notification,
    create_message_notification,
    create_event_notification,
    notify_all_users_release,
    notify_all_users_announcement
)
from .analytics import (
    get_or_create_analytics_session,
    track_page_view_for_request,
    get_current_page_view_id,
    set_current_page_view_id,
    cleanup_page_view_id,
    get_free_tier_usage,
    get_brave_api_usage,
    log_brave_api_call
)
from .context_processors import register_context_processors
from .error_handlers import register_error_handlers
from .middleware import register_middleware
