"""NI TDMS data reader (stub).

Placeholder for a future TDMS reader plugin.
Install nptdms to enable: pip install impakt[tdms]
"""

from __future__ import annotations

from pathlib import Path

from impakt.channel.model import TestData, TestMetadata


class TDMSReader:
    """Reader for NI TDMS files (not yet implemented).

    Requires the optional ``nptdms`` dependency::

        pip install impakt[tdms]
    """

    @property
    def format_name(self) -> str:
        return "NI TDMS"

    def supports(self, path: Path) -> bool:
        return False  # Disabled until implemented

    def metadata(self, path: Path) -> TestMetadata:
        raise NotImplementedError(
            "TDMS reader is not yet implemented. Install nptdms: pip install impakt[tdms]"
        )

    def read(self, path: Path) -> TestData:
        raise NotImplementedError(
            "TDMS reader is not yet implemented. Install nptdms: pip install impakt[tdms]"
        )
