# This file is auto-generated by the CDP protocol generator.
# Do not edit this file manually as your changes will be overwritten.
# Generated from Chrome DevTools Protocol specifications.

"""CDP FedCm Domain Events"""

from typing import List
from typing_extensions import NotRequired, TypedDict

from typing import TYPE_CHECKING

if TYPE_CHECKING:
    from .types import Account
    from .types import DialogType


class DialogShownEvent(TypedDict):
    dialogId: "str"
    dialogType: "DialogType"
    accounts: "List[Account]"
    title: "str"
    """These exist primarily so that the caller can verify the
RP context was used appropriately."""
    subtitle: "NotRequired[str]"


"""Triggered when a dialog is closed, either by user action, JS abort,
or a command below."""


class DialogClosedEvent(TypedDict):
    dialogId: "str"
