constexpr explicit text_encoding(string_view enc) noexcept;
constexpr text_encoding(id i) noexcept;
constexpr id mib() const noexcept;
constexpr const char* name() const noexcept;
constexpr aliases_view aliases() const noexcept;
static consteval text_encoding literal() noexcept;
static text_encoding environment();
template<id i>
static bool environment_is();
static constexpr bool comp-name(string_view a, string_view b);
friend constexpr bool operator==(const text_encoding& a, const text_encoding& b) noexcept;
friend constexpr bool operator==(const text_encoding& encoding, id i) noexcept;
template<> struct hash<text_encoding>;