Undocumented languages module API exports
src/safelint/languages/__init__.py
def get_language_for_file(filepath: str) -> LanguageDefinition | None
def supported_extensions() -> frozenset[str]
def unavailable_extensions() -> dict[str, str]
def install_hint_for(extension: str) -> str | None
def extra_name_for(extension: str) -> str | None(not documented)The safelint.languages module exports five important public functions for querying language availability and configuration (get_language_for_file, supported_extensions, unavailable_extensions, install_hint_for, extra_name_for), but these are never mentioned in the public documentation. Developers extending SafeLint or writing integrations would need to discover these through source code inspection.
Add a new 'Language API' reference section to the documentation, or augment the existing language pages with a 'Programmatic API' subsection documenting these functions, their signatures, return types, and use cases (e.g., 'Use get_language_for_file(path) to detect the language of a source file').