"""
GuardrailX Python SDK

Official Python SDK for GuardrailX Policy Engine.
"""

__version__ = "1.0.0"

# Import types
from .types import (
    GuardrailxClientOptions,
    GuardrailxError,
    GatewayDecision,
    LLMRequest,
    MaskConfig,
    PolicyDecision,
    RehydrateRequest,
    RehydrateResponse,
    SanitizeRequest,
    SanitizeResponse,
)

# Import client
from .client import GuardrailxClient

# Import utilities
from .utils import (
    create_retry_config,
    create_tenant_headers,
    format_decision,
    get_masked_content,
    get_reason,
    is_allowed,
    is_blocked,
    is_error,
    is_masked,
)

__all__ = [
    # Client
    "GuardrailxClient",
    # Types
    "GuardrailxClientOptions",
    "GuardrailxError",
    "PolicyDecision",
    "GatewayDecision",
    "MaskConfig",
    "LLMRequest",
    "SanitizeRequest",
    "SanitizeResponse",
    "RehydrateRequest",
    "RehydrateResponse",
    # Utils
    "is_allowed",
    "is_blocked",
    "is_masked",
    "is_error",
    "get_masked_content",
    "get_reason",
    "create_retry_config",
    "create_tenant_headers",
    "format_decision",
]

