from collections.abc import Iterable
from typing import Any

from django.template.base import Origin, Template
from django.template.engine import Engine

class Loader:
    engine: Engine = ...
    get_template_cache: dict[str, Any] = ...
    def __init__(self, engine: Engine) -> None: ...
    def get_template(
        self, template_name: str, skip: list[Origin] | None = ...
    ) -> Template: ...
    def get_template_sources(self, template_name: str) -> Iterable[Origin]: ...
    def reset(self) -> None: ...
