"""
Synor Hosting SDK for Python

Decentralized web hosting with domain management, DNS, and deployments.

Example:
    >>> from synor_hosting import SynorHosting
    >>>
    >>> hosting = SynorHosting(api_key="your-api-key")
    >>>
    >>> # Register a domain
    >>> domain = await hosting.register_domain("mysite.synor")
    >>> print(f"Domain registered: {domain.name}")
    >>>
    >>> # Deploy from CID
    >>> deployment = await hosting.deploy("Qm...", domain="mysite.synor")
    >>> print(f"Live at: {deployment.url}")
    >>>
    >>> # Provision SSL
    >>> cert = await hosting.provision_ssl("mysite.synor")
"""

from .types import (
    HostingConfig,
    Domain,
    DomainRecord,
    DomainAvailability,
    DnsRecord,
    DnsZone,
    Deployment,
    DeploymentStats,
    Certificate,
    SiteConfig,
    AnalyticsData,
    HostingError,
)
from .client import SynorHosting

__version__ = "0.1.0"
__all__ = [
    "SynorHosting",
    "HostingConfig",
    "Domain",
    "DomainRecord",
    "DomainAvailability",
    "DnsRecord",
    "DnsZone",
    "Deployment",
    "DeploymentStats",
    "Certificate",
    "SiteConfig",
    "AnalyticsData",
    "HostingError",
]
