"""Security primitives for hardened external content handling.

Provides:
- content_delimiter: wrap untrusted external content with semantic markers
- html_cleaner: extract visible text and strip dangerous HTML elements
- sanitizer: strip prompt-injection vectors (zero-width, control chars, PUA, ...)
"""

from deerflow.security.content_delimiter import (
    END_DELIMITER,
    START_DELIMITER,
    unwrap_trusted_content,
    wrap_untrusted_content,
)
from deerflow.security.html_cleaner import SecureTextExtractor, extract_secure_text
from deerflow.security.sanitizer import PromptInjectionSanitizer, sanitizer

__all__ = [
    "END_DELIMITER",
    "PromptInjectionSanitizer",
    "START_DELIMITER",
    "SecureTextExtractor",
    "extract_secure_text",
    "sanitizer",
    "unwrap_trusted_content",
    "wrap_untrusted_content",
]
