"""
tibet-core: Token-based Intent, Behavior, Evidence & Trust

Cryptographic provenance for trustworthy systems.
Zero dependencies. Audit-ready. Compliance-friendly.

Supports: ISO 5338, NIS2, BIO2, OWASP, CRA

Usage:
    from tibet_core import Token, Provider

    # Create provider
    tibet = Provider(actor="my_system")

    # Create tokens for any action
    token = tibet.create(
        action="user_login",
        erin={"user_id": "123", "method": "oauth"},
        erachter="User authentication request"
    )

    # Verify integrity
    assert token.verify()

    # Get audit trail
    audit = tibet.export()

    # Network bridge (optional, with tibet-ping)
    from tibet_core import NetworkBridge
    bridge = NetworkBridge(tibet)
    token = bridge.record_ping(packet, response)

Dutch Provenance Semantics:
    ERIN: What's IN the action (content, data)
    ERAAN: What's attached (dependencies, references)
    EROMHEEN: Context around it (environment, state)
    ERACHTER: Intent behind it (why this action)
"""

from .token import Token, TokenState, create_token_id, validate_timestamp
from .provider import Provider
from .chain import Chain
from .store import MemoryStore, FileStore
from .bridge import NetworkBridge

__version__ = "0.3.1"
__all__ = [
    "Token",
    "TokenState",
    "Provider",
    "Chain",
    "MemoryStore",
    "FileStore",
    "NetworkBridge",
    "create_token_id",
    "validate_timestamp",
]
