"""Actions module - provides action classes and TypedDicts for type-safe action execution."""

# ruff: noqa: RUF022  # Preserve grouped __all__ layout

# Import all action classes from actions.py
from notte_core.actions.actions import (
    ActionList,
    ActionParameter,
    ActionParameterValue,
    ActionUnion,
    ActionValidation,
    BaseAction,
    BrowserAction,
    BrowserActionUnion,
    CaptchaSolveAction,
    CheckAction,
    ClickAction,
    CloseTabAction,
    CompletionAction,
    DownloadFileAction,
    EmailReadAction,
    FallbackFillAction,
    FillAction,
    FormFillAction,
    GoBackAction,
    GoForwardAction,
    GotoAction,
    GotoNewTabAction,
    HelpAction,
    InteractionAction,
    InteractionActionUnion,
    MultiFactorFillAction,
    PressKeyAction,
    ReloadAction,
    ScrapeAction,
    ScrollDownAction,
    ScrollUpAction,
    SelectDropdownOptionAction,
    SmsReadAction,
    SwitchTabAction,
    ToolAction,
    UploadFileAction,
    WaitAction,
)

# Import TypedDicts and helper function from typedicts.py
from notte_core.actions.typedicts import (
    ActionDict,
    ActionType,
    CaptchaSolveActionDict,
    CheckActionDict,
    ClickActionDict,
    CloseTabActionDict,
    CompletionActionDict,
    DownloadFileActionDict,
    EmailReadActionDict,
    FallbackFillActionDict,
    FillActionDict,
    FormFillActionDict,
    GoBackActionDict,
    GoForwardActionDict,
    GotoActionDict,
    GotoNewTabActionDict,
    HelpActionDict,
    MultiFactorFillActionDict,
    PressKeyActionDict,
    ReloadActionDict,
    ScrapeActionDict,
    ScrollDownActionDict,
    ScrollUpActionDict,
    SelectDropdownOptionActionDict,
    SmsReadActionDict,
    SwitchTabActionDict,
    UploadFileActionDict,
    WaitActionDict,
    action_dict_to_base_action,
)

__all__ = [
    # Base classes
    "BaseAction",
    "BrowserAction",
    "InteractionAction",
    "ToolAction",
    # Action classes
    "FormFillAction",
    "GotoAction",
    "GotoNewTabAction",
    "CloseTabAction",
    "SwitchTabAction",
    "GoBackAction",
    "GoForwardAction",
    "ReloadAction",
    "WaitAction",
    "PressKeyAction",
    "ScrollUpAction",
    "ScrollDownAction",
    "CaptchaSolveAction",
    "HelpAction",
    "CompletionAction",
    "ScrapeAction",
    "EmailReadAction",
    "SmsReadAction",
    "ClickAction",
    "FillAction",
    "MultiFactorFillAction",
    "FallbackFillAction",
    "CheckAction",
    "SelectDropdownOptionAction",
    "UploadFileAction",
    "DownloadFileAction",
    # Unions
    "ActionUnion",
    "BrowserActionUnion",
    "InteractionActionUnion",
    # Other
    "ActionList",
    "ActionValidation",
    "ActionParameter",
    "ActionParameterValue",
    # TypedDicts
    "ActionDict",
    "ActionType",
    "action_dict_to_base_action",
    "CaptchaSolveActionDict",
    "CheckActionDict",
    "ClickActionDict",
    "CloseTabActionDict",
    "CompletionActionDict",
    "DownloadFileActionDict",
    "EmailReadActionDict",
    "FallbackFillActionDict",
    "FillActionDict",
    "FormFillActionDict",
    "GoBackActionDict",
    "GoForwardActionDict",
    "GotoActionDict",
    "GotoNewTabActionDict",
    "HelpActionDict",
    "MultiFactorFillActionDict",
    "PressKeyActionDict",
    "ReloadActionDict",
    "ScrollDownActionDict",
    "ScrollUpActionDict",
    "ScrapeActionDict",
    "SelectDropdownOptionActionDict",
    "SmsReadActionDict",
    "SwitchTabActionDict",
    "UploadFileActionDict",
    "WaitActionDict",
]
