"""Log-related helpers to avoid direct service-to-service imports."""

from __future__ import annotations

from app.models.config import LogPreviewRequest, LogPreviewResponse, RegexTestRequest, RegexTestResponse
from app.services.log_service import preview_log as _preview_log, test_regex as _test_regex


async def preview_log(req: LogPreviewRequest) -> LogPreviewResponse:
    return await _preview_log(req)


def test_regex(req: RegexTestRequest) -> RegexTestResponse:
    return _test_regex(req)
