"""
SparkNet Security Module
========================

Scans content for sensitive information before sharing.
Nothing leaves your machine without your approval.

Features:
- API key detection (AWS, Stripe, GitHub, OpenAI, etc.)
- Password/secret detection
- PII detection (emails, phone numbers)
- File path detection (with usernames)
- Custom pattern support
- Configurable sensitivity levels
"""

from .scanner import (
    SecurityScanner,
    ScanResult,
    ScanFinding,
    FindingSeverity,
    FindingType,
)
from .patterns import (
    BUILTIN_PATTERNS,
    PatternRule,
    add_custom_pattern,
    load_custom_patterns,
)
from .redactor import (
    Redactor,
    redact_content,
    RedactionMode,
)

__all__ = [
    # Scanner
    "SecurityScanner",
    "ScanResult",
    "ScanFinding",
    "FindingSeverity",
    "FindingType",
    # Patterns
    "BUILTIN_PATTERNS",
    "PatternRule",
    "add_custom_pattern",
    "load_custom_patterns",
    # Redactor
    "Redactor",
    "redact_content",
    "RedactionMode",
]
