"""
Gutter Repair — barrel re-export.

All implementation split into:
  cv_gutter_repair_core  — spellchecker setup, data types, single-word repair
  cv_gutter_repair_grid  — grid analysis, suggestion application

Lizenz: Apache 2.0 (kommerziell nutzbar)
DATENSCHUTZ: Alle Verarbeitung erfolgt lokal.
"""

# Core: spellchecker, data types, repair helpers
from .core import (  # noqa: F401
    _init_spellcheckers,
    _is_known,
    _spell_candidates,
    _MIN_WORD_LEN_SPELL,
    _MIN_WORD_LEN_HYPHEN,
    _GUTTER_EDGE_THRESHOLD,
    _STOPWORDS,
    _IPA_RE,
    _is_ipa_text,
    _word_is_at_gutter_edge,
    GutterSuggestion,
    _TRAILING_PUNCT_RE,
    _try_hyphen_join,
    _try_spell_fix,
    _edit_distance,
)

# Grid: analysis and application
from .grid import (  # noqa: F401
    analyse_grid_for_gutter_repair,
    apply_gutter_suggestions,
)
