"""
Confluence Core Module

Provides ConfluenceClient for interacting with Confluence REST API.
Uses curl_cffi with Chrome impersonation to bypass Cloudflare protection.
"""

from .client import ConfluenceClient, Page, Space, Confluence
from .operations import (
    connect_confluence,
    push_document,
    pull_document,
    markdown_to_storage,
    storage_to_markdown,
    print_page_tree,
)

__all__ = [
    'ConfluenceClient',
    'Confluence',
    'Page',
    'Space',
    'connect_confluence',
    'push_document',
    'pull_document',
    'markdown_to_storage',
    'storage_to_markdown',
    'print_page_tree',
]
