"""
This type stub file was generated by pyright.
"""

from typing import TYPE_CHECKING
from jinja2.parser import Parser
from collections.abc import Iterator
from jinja2.nodes import Node

if TYPE_CHECKING:
    ...
env = ...
class BooleanParser(Parser):
    """
    Only allow condition exprs and/or/not operations.
    """
    def parse_compare(self) -> Node:
        ...
    


class Tags:
    def __init__(self, tags: list[str] | None = ...) -> None:
        ...
    
    def has(self, tag: str) -> bool:
        ...
    
    __contains__ = ...
    def __iter__(self) -> Iterator[str]:
        ...
    
    def add(self, tag: str) -> None:
        ...
    
    def remove(self, tag: str) -> None:
        ...
    
    def eval_condition(self, condition: str) -> bool:
        ...
    


