from wagtail.contrib.redirects.base_formats import DEFAULT_FORMATS as DEFAULT_FORMATS
from wagtail.contrib.redirects.tmp_storages import CacheStorage as CacheStorage
from wagtail.contrib.redirects.tmp_storages import TempFolderStorage as TempFolderStorage

def write_to_file_storage(import_file, input_format): ...
def get_supported_extensions(): ...
def get_format_cls_by_extension(extension): ...
def get_import_formats(): ...
def get_file_storage(): ...

class RedirectsCacheStorage(CacheStorage):
    CACHE_PREFIX: str
