from __future__ import annotations
from typing import Any, Protocol, runtime_checkable

@runtime_checkable
class XWizardController(Protocol):
    def createPage(self, ParentWindow: XWindow, PageId: int) -> XWizardPage: ...
    def getPageTitle(self, PageId: int) -> str: ...
    def canAdvance(self) -> bool: ...
    def onActivatePage(self, PageId: int) -> None: ...
    def onDeactivatePage(self, PageId: int) -> None: ...
    def confirmFinish(self) -> bool: ...
