# This file is generated by objective.metadata
#
# Last update: Sat Jul  1 14:10:47 2023
#
# flake8: noqa

import objc, sys
from typing import NewType

if sys.maxsize > 2**32:

    def sel32or64(a, b):
        return b

else:

    def sel32or64(a, b):
        return a


if objc.arch == "arm64":

    def selAorI(a, b):
        return a

else:

    def selAorI(a, b):
        return b


misc = {}
constants = """$IntentsUIVersionNumber@d$"""
enums = """$INUIAddVoiceShortcutButtonStyleAutomatic@4$INUIAddVoiceShortcutButtonStyleAutomaticOutline@5$INUIAddVoiceShortcutButtonStyleBlack@2$INUIAddVoiceShortcutButtonStyleBlackOutline@3$INUIAddVoiceShortcutButtonStyleWhite@0$INUIAddVoiceShortcutButtonStyleWhiteOutline@1$INUIHostedViewContextMapsCard@1$INUIHostedViewContextSiriSnippet@0$INUIInteractiveBehaviorGenericAction@3$INUIInteractiveBehaviorLaunch@2$INUIInteractiveBehaviorNextView@1$INUIInteractiveBehaviorNone@0$"""
misc.update(
    {"INUIAddVoiceShortcutButtonStyle": NewType("INUIAddVoiceShortcutButtonStyle", int)}
)
misc.update({})
misc.update({})
r = objc.registerMetaDataForSelector
objc._updatingMetadata(True)
try:
    r(
        b"NSObject",
        b"addVoiceShortcutViewController:didFinishWithVoiceShortcut:error:",
        {
            "required": True,
            "retval": {"type": b"v"},
            "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}, 4: {"type": b"@"}},
        },
    )
    r(
        b"NSObject",
        b"addVoiceShortcutViewControllerDidCancel:",
        {"required": True, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
    )
    r(
        b"NSObject",
        b"configureViewForParameters:ofInteraction:interactiveBehavior:context:completion:",
        {
            "required": False,
            "retval": {"type": b"v"},
            "arguments": {
                2: {"type": b"@"},
                3: {"type": b"@"},
                4: {"type": b"Q"},
                5: {"type": b"Q"},
                6: {
                    "callable": {
                        "retval": {"type": b"v"},
                        "arguments": {
                            0: {"type": b"^v"},
                            1: {"type": b"Z"},
                            2: {"type": b"@"},
                            3: {"type": b"{CGSize=dd}"},
                        },
                    },
                    "type": b"@?",
                },
            },
        },
    )
    r(
        b"NSObject",
        b"configureWithInteraction:context:completion:",
        {
            "required": False,
            "retval": {"type": b"v"},
            "arguments": {
                2: {"type": b"@"},
                3: {"type": b"Q"},
                4: {
                    "callable": {
                        "retval": {"type": b"v"},
                        "arguments": {0: {"type": b"^v"}, 1: {"type": b"{CGSize=dd}"}},
                    },
                    "type": b"@?",
                },
            },
        },
    )
    r(b"NSObject", b"displaysMap", {"required": False, "retval": {"type": b"Z"}})
    r(b"NSObject", b"displaysMessage", {"required": False, "retval": {"type": b"Z"}})
    r(
        b"NSObject",
        b"displaysPaymentTransaction",
        {"required": False, "retval": {"type": b"Z"}},
    )
    r(
        b"NSObject",
        b"editVoiceShortcutViewController:didDeleteVoiceShortcutWithIdentifier:",
        {
            "required": True,
            "retval": {"type": b"v"},
            "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
        },
    )
    r(
        b"NSObject",
        b"editVoiceShortcutViewController:didUpdateVoiceShortcut:error:",
        {
            "required": True,
            "retval": {"type": b"v"},
            "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}, 4: {"type": b"@"}},
        },
    )
    r(
        b"NSObject",
        b"editVoiceShortcutViewControllerDidCancel:",
        {"required": True, "retval": {"type": b"v"}, "arguments": {2: {"type": b"@"}}},
    )
    r(
        b"NSObject",
        b"presentAddVoiceShortcutViewController:forAddVoiceShortcutButton:",
        {
            "required": True,
            "retval": {"type": b"v"},
            "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
        },
    )
    r(
        b"NSObject",
        b"presentEditVoiceShortcutViewController:forAddVoiceShortcutButton:",
        {
            "required": True,
            "retval": {"type": b"v"},
            "arguments": {2: {"type": b"@"}, 3: {"type": b"@"}},
        },
    )
finally:
    objc._updatingMetadata(False)
expressions = {}

# END OF FILE
