# Re-export everything from shared.py for backward compatibility
from .shared import (
    logger, room_store, points_service, race_engine, message_service,
    _get_user_name, _build_name_map, _get_race_image_renderer, _build_race_image_message,
    _normalize_horse_name, _get_horses_in_order, _format_horse_label,
    _find_user_horse, _find_duplicate_horse, _resolve_horse_selector,
    _describe_points_delta, _build_point_changes, _send_to_scope,
    _format_point_change_lines, calculate_odds, settle_race, run_race_with_settlement,
    get_event_id, get_scope, check_access,
    config,
)

# Re-export public names for external callers (test_commands, etc.)
from .register import handle_register
from .bet import handle_cancel, handle_cancel_bet, handle_bet, handle_odds
from .race import handle_race_list, handle_start
from .help import handle_help
