from pm2d.matcher import EdgeShapeMatcher, Match, Template
from pm2d.line_matcher import LineShapeMatcher, Match as LineMatch
from pm2d._jit_kernels import HAS_NUMBA, _warmup as _warmup_jit

# Precompila kernel JIT in background al primo import (evita lag al 1° match)
try:
    _warmup_jit()
except Exception:
    pass

__all__ = [
    "EdgeShapeMatcher", "Match", "Template",
    "LineShapeMatcher", "LineMatch", "HAS_NUMBA",
]
