"""Skill catalog and indexing."""

from __future__ import annotations

from typing import Any

__all__ = ["SkillRecord", "SkillsLoader"]


def __getattr__(name: str) -> Any:
    if name in {"SkillRecord", "SkillsLoader"}:
        from .loader import SkillRecord, SkillsLoader

        return {
            "SkillRecord": SkillRecord,
            "SkillsLoader": SkillsLoader,
        }[name]
    raise AttributeError(f"module {__name__!r} has no attribute {name!r}")
