# This file is generated by objective.metadata
#
# Last update: Sun May 24 11:57:47 2026
#
# 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 = """$$"""
enums = """$$"""
misc.update({})
misc.update(
    {"STWebHistoryProfileIdentifier": NewType("STWebHistoryProfileIdentifier", str)}
)
misc.update({})
r = objc.registerMetaDataForSelector
objc._updatingMetadata(True)
try:
    r(
        b"STScreenTimeConfiguration",
        b"enforcesChildRestrictions",
        {"retval": {"type": b"Z"}},
    )
    r(
        b"STWebHistory",
        b"fetchAllHistoryWithCompletionHandler:",
        {
            "arguments": {
                2: {
                    "callable": {
                        "retval": {"type": b"v"},
                        "arguments": {
                            0: {"type": b"^v"},
                            1: {"type": b"@"},
                            2: {"type": b"@"},
                        },
                    }
                }
            }
        },
    )
    r(
        b"STWebHistory",
        b"fetchHistoryDuringInterval:completionHandler:",
        {
            "arguments": {
                3: {
                    "callable": {
                        "retval": {"type": b"v"},
                        "arguments": {
                            0: {"type": b"^v"},
                            1: {"type": b"@"},
                            2: {"type": b"@"},
                        },
                    }
                }
            }
        },
    )
    r(
        b"STWebHistory",
        b"initWithBundleIdentifier:error:",
        {"arguments": {3: {"type_modifier": b"o"}}},
    )
    r(
        b"STWebHistory",
        b"initWithBundleIdentifier:profileIdentifier:error:",
        {"arguments": {4: {"type_modifier": b"o"}}},
    )
    r(b"STWebpageController", b"URLIsBlocked", {"retval": {"type": b"Z"}})
    r(b"STWebpageController", b"URLIsPictureInPicture", {"retval": {"type": b"Z"}})
    r(b"STWebpageController", b"URLIsPlayingVideo", {"retval": {"type": b"Z"}})
    r(
        b"STWebpageController",
        b"setBundleIdentifier:error:",
        {"retval": {"type": b"Z"}, "arguments": {3: {"type_modifier": b"o"}}},
    )
    r(
        b"STWebpageController",
        b"setSuppressUsageRecording:",
        {"arguments": {2: {"type": b"Z"}}},
    )
    r(
        b"STWebpageController",
        b"setURLIsPictureInPicture:",
        {"arguments": {2: {"type": b"Z"}}},
    )
    r(
        b"STWebpageController",
        b"setURLIsPlayingVideo:",
        {"arguments": {2: {"type": b"Z"}}},
    )
    r(b"STWebpageController", b"suppressUsageRecording", {"retval": {"type": b"Z"}})
finally:
    objc._updatingMetadata(False)

objc.registerNewKeywordsFromSelector("STScreenTimeConfiguration", b"init")
objc.registerNewKeywordsFromSelector("STScreenTimeConfigurationObserver", b"init")
objc.registerNewKeywordsFromSelector(
    "STScreenTimeConfigurationObserver", b"initWithUpdateQueue:"
)
objc.registerNewKeywordsFromSelector("STWebHistory", b"initWithBundleIdentifier:error:")
objc.registerNewKeywordsFromSelector(
    "STWebHistory", b"initWithBundleIdentifier:profileIdentifier:error:"
)
objc.registerNewKeywordsFromSelector("STWebHistory", b"initWithProfileIdentifier:")
objc.registerNewKeywordsFromSelector("STWebpageController", b"initWithCoder:")
objc.registerNewKeywordsFromSelector("STWebpageController", b"initWithNibName:bundle:")
expressions = {}

# END OF FILE
