from __future__ import annotations
from typing import Any, Protocol, runtime_checkable
from com.sun.star.container import XChild
from com.sun.star.lang import XMultiServiceFactory
from com.sun.star.sdbc import Connection
from com.sun.star.sdbcx import DatabaseDefinition

@runtime_checkable
class Connection(Connection, XChild, XCommandPreparation, DatabaseDefinition, XQueriesSupplier, XSQLQueryComposerFactory, XMultiServiceFactory, Protocol):
    ...
