from __future__ import annotations
from typing import Any, Protocol, runtime_checkable
from com.sun.star.beans import XPropertySet

@runtime_checkable
class DatabaseAccess(XPropertySet, XDatabaseAccess, XCompletedConnection, Protocol):
    URL: str
    Title: str
    ConnectURL: str
    ConnectInfo: list[PropertyValue]
    IsReadOnly: bool
    NumberFormatsSupplier: XNumberFormatsSupplier
    IsPasswordRequired: bool
    TableFilter: list[str]
    TableTypeFilter: list[str]
