import codecs import typing def search_function(encoding: str) -> codecs.CodecInfo: ...